Shape class abstract
The Base class of a shape.
A shape renders figures of tuples from their aesthetic attribute values. It is the key of painting geometry elements. Besides, the shape it self is an aesthetic attribute in Grammar of Graphics.
Shapes could be customized by extending its subclasses of different geometory types, or directly extend this class for the CustomElement. Customizing shapes extenses chart types.
- Implementers
Constructors
- Shape()
Properties
- defaultSize → double
-
The default size of the shape if Aes.size is null.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
renderGroup(
List< Aes> group, CoordConv coord, Offset origin) → List<Figure> - Renders the whole group of tuples.
-
renderItem(
Aes item, CoordConv coord, Offset origin) → List< Figure> - Renders a single tuple if called by renderGroup.
-
representPoint(
List< Offset> position) → Offset - Gets the represent point of Aes.position points.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited