Shape class abstract
The Base class of a shape.
A shape renders elements of tuples from their aesthetic encode values. It is the key of painting geometry marks. Besides, the shape it self is an aesthetic encode in Grammar of Graphics.
Shapes could be customized by extending its subclasses of different geometory types, or directly extend this class for the CustomMark. Customizing shapes extenses chart types.
- Implementers
Constructors
- Shape()
Properties
- defaultSize → double
-
The default size of the shape if Attributes.size is null.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
drawGroupLabels(
List< Attributes> group, CoordConv coord, Offset origin) → List< MarkElement< ElementStyle>> - Renders label elements of all tuples of a group.
-
drawGroupPrimitives(
List< Attributes> group, CoordConv coord, Offset origin) → List< MarkElement< ElementStyle>> - Renders primitive elements of all tuples of a group.
-
equalTo(
Object other) → bool -
Checks the equlity of two specs.
inherited
-
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.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited