ShapeLayerDefinition class sealed
One compiled part of a shape's body, in paint order, placed by bounds.
Shapes are authored as ShapePart bodies; layers are what a body compiles to and what renderers, picking and editing read. Content extensions, such as tables, also resolve into these primitives.
Non-text layers are content contained by the owning shape's outline: their paint and interactive area are intersected with that resolved outline, independently of child clipping. Text is never clipped to the outline; ports and shadows are not content layers.
Properties
- bounds → ShapeBoundsDefinition
-
final
- cursor → ShapeLayerCursor
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- interactionId → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited