Skip to content

CanvasElementOptions🔗

Constructor🔗

CanvasElementOptions()

Methods🔗

build🔗

Builds the object.

def build() -> canvas.CanvasElementOptions

background🔗

def background(background: cogbuilder.Builder[canvas.BackgroundConfig]) -> typing.Self

border🔗

def border(border: cogbuilder.Builder[canvas.LineConfig]) -> typing.Self

config🔗

TODO: figure out how to define this (element config(s))

def config(config: object) -> typing.Self

connections🔗

def connections(connections: list[cogbuilder.Builder[canvas.CanvasConnection]]) -> typing.Self

constraint🔗

def constraint(constraint: cogbuilder.Builder[canvas.Constraint]) -> typing.Self

name🔗

def name(name: str) -> typing.Self

placement🔗

def placement(placement: cogbuilder.Builder[canvas.Placement]) -> typing.Self

type_val🔗

def type_val(type_val: str) -> typing.Self

See also🔗