RectangleRenderable class
A renderable rectangle shape
- Inheritance
-
- Object
- Renderable
- RectangleRenderable
Constructors
Properties
- fillColor ↔ Color
-
Fill color
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- layer ↔ int
-
Layer index for rendering order (lower layers render first)
getter/setter pairinherited
- opacity ↔ double
-
Opacity (0.0 to 1.0)
getter/setter pairinherited
- position ↔ Offset
-
Position in world space
getter/setter pairinherited
- rotation ↔ double
-
Rotation in radians
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ double
-
Scale factor
getter/setter pairinherited
- size ↔ Size
-
Size of the rectangle
getter/setter pair
- strokeColor ↔ Color?
-
Stroke color (null for no stroke)
getter/setter pair
- strokeWidth ↔ double
-
Stroke width
getter/setter pair
- tint ↔ Color?
-
Tint color
getter/setter pairinherited
- visible ↔ bool
-
Visibility flag
getter/setter pairinherited
- zOrder ↔ int
-
Z-order within the layer
getter/setter pairinherited
Methods
-
applyTransform(
Canvas canvas) → void -
Apply transform to canvas
inherited
-
getBounds(
) → Rect? -
Get the bounding box of this renderable
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Canvas canvas, Size canvasSize) → void -
Render this object
override
-
restoreTransform(
Canvas canvas) → void -
Restore canvas state
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited