DrawableAvdPath class
An AVD path element that will be drawn to the canvas.
- Inheritance
-
- Object
- DrawableShape
- DrawableAvdPath
Constructors
- DrawableAvdPath(String? id, Path path, DrawableStyle style)
-
An AVD path element that will be drawn to the canvas.
const
- DrawableAvdPath.fromXml(XmlElement el)
-
Creates a DrawableAvdPath from an XML
factory
Properties
- bounds → Rect
-
The bounds of this shape.
no setterinherited
- hasDrawableContent → bool
-
Whether this Drawable would be visible if drawn.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A string that should uniquely identify this Drawable within its DrawableRoot.
finalinherited
- path → Path
-
The Path describing this shape.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → DrawableStyle
-
The DrawableStyle for this object.
finalinherited
- transform → Float64List?
-
The 4x4 transform to apply to this Drawable, if any.
finalinherited
Methods
-
draw(
Canvas canvas, Rect bounds) → void -
Draws the contents or children of this Drawable to the
canvas, using theparentPaintto optionally override the child's paint.inherited -
mergeStyle(
DrawableStyle newStyle) → DrawableShape -
Creates an instance with merged style information.
inherited
-
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