ShapeContainerMixin
Mixin for nodes that can contain shapes and have styling properties.
ShapeContainerMixin interface
Mixin for nodes that can contain shapes and have styling properties.
Signature:
interface ShapeContainerMixinProperties
Property | Modifiers | Type | Description |
|---|---|---|---|
| ReadonlyArray<Paint> | Fill paints applied to shapes in this container | |
| ReadonlyArray<Shape> | Child shapes contained in this container | |
| ReadonlyArray<Stroke> | Strokes applied to shapes in this container | |
| ReadonlyArray<TrimPath> | Trim paths applied to shapes in this container |
Methods
Method | Description |
|---|---|
Creates a new ellipse shape in this container | |
Adds a fill paint to this container | |
Creates a new group containing the specified shapes | |
Creates a new path shape in this container | |
Creates a new polygon shape in this container | |
Creates a new rectangle shape in this container | |
Creates a new star shape in this container | |
Adds a stroke to this container | |
Creates a trim path in this container |