GroupElement class

A group element.

Inheritance

Constructors

GroupElement({required List<MarkElement<ElementStyle>> elements, double? rotation, Offset? rotationAxis, String? tag})
Creates a group element.

Properties

elements List<MarkElement<ElementStyle>>
The child elements of this group element.
final
hashCode int
The hash code for this object.
read-onlyinherited
rotation double?
The rotation of this element.
finalinherited
rotationAxis Offset?
The rotation axis of this element.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
style → _GroupStyle
The style of this element.
finalinherited
tag String?
The tag to indicate correspondence of this element in animation.
finalinherited

Methods

draw(Canvas canvas) → void
Indicates how this element is drawn.
override
lerpFrom(covariant GroupElement from, double t) GroupElement
Linearly interpolate between this element and from.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas) → void
Paints this element on canvas.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override