GroupElement class
- Inheritance
-
- Object
- TextElement
- BlockElement
- GroupElement
Constructors
-
GroupElement({required double width, required double height, required List<
TextElement> children})
Properties
- boundingBox → Rect
-
no setteroverride
-
children
→ List<
TextElement> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
finalinherited
Methods
-
draw(
Canvas canvas) → void -
Renders the element on the
canvas
, at coordinates determined during the layout.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
double dx, double dy) → void -
Moves the element by (
dx
,dy
) relative to its current location.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited