AreaGroup

A group containing other components, including nested groups, AreaPath and AreaText components. It can define a transformation and a default fill and stroke brush for its children.

Attributes

transform

type: libui.UiDrawMatrix

A transformation applied to child components.

fill

type: libui.DrawBrush

The default fill brush for child components.

stroke

type: libui.DrawBrush

The default stroke brush for child components.

line

type: libui.DrawStrokeParams

The default style of line for child components.

Example

<Area>
  <AreaGroup v-bind:fill="redBrush"/>
    <AreaPath v-bind:path="circlePath"/>
    <AreaPath v-bind:path="squarePath"/>
  </AreaGroup>    
</Area>

Last updated