Skip to content

CanvasOptionsRootBuilder🔗

Constructor🔗

func NewCanvasOptionsRootBuilder() *CanvasOptionsRootBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *CanvasOptionsRootBuilder) Build() (CanvasOptionsRoot, error)

Elements🔗

The list of canvas elements attached to the root element

func (builder *CanvasOptionsRootBuilder) Elements(elements []cog.Builder[canvas.CanvasElementOptions]) *CanvasOptionsRootBuilder

Name🔗

Name of the root element

func (builder *CanvasOptionsRootBuilder) Name(name string) *CanvasOptionsRootBuilder

See also🔗