BasicLineShape class

A basic line shape.

Inheritance

Constructors

BasicLineShape({bool smooth = false, bool loop = false, List<double>? dash})
Creates a basic line shape.

Properties

dash List<double>?
The circular array of dash offsets and lengths.
final
defaultSize double
The default size of the shape if Attributes.size is null.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
loop bool
Whether to connect the last point to the first point.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smooth bool
Whether this line is smooth.
final

Methods

drawGroupLabels(List<Attributes> group, CoordConv coord, Offset origin) List<MarkElement<ElementStyle>>
Renders label elements of all tuples of a group.
override
drawGroupPrimitives(List<Attributes> group, CoordConv coord, Offset origin) List<MarkElement<ElementStyle>>
Renders primitive elements of all tuples of a group.
override
equalTo(Object other) bool
Checks the equlity of two specs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
representPoint(List<Offset> position) Offset
Gets the represent point of Attributes.position points.
inherited
toString() String
A string representation of this object.
inherited

Operators

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