Skip to content

CanvasElementOptionsBuilder🔗

Constructor🔗

new CanvasElementOptionsBuilder()

Methods🔗

build🔗

Builds the object.

build()

background🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Canvas\BackgroundConfig> $background

background(\Grafana\Foundation\Cog\Builder $background)

border🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Canvas\LineConfig> $border

border(\Grafana\Foundation\Cog\Builder $border)

config🔗

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

@param mixed $config

config($config)

connections🔗

@param array<\Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Canvas\CanvasConnection>> $connections

connections(array $connections)

constraint🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Canvas\Constraint> $constraint

constraint(\Grafana\Foundation\Cog\Builder $constraint)

name🔗

name(string $name)

placement🔗

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Canvas\Placement> $placement

placement(\Grafana\Foundation\Cog\Builder $placement)

type🔗

type(string $type)

See also🔗