PolygonElement class
The specification of a polygon element.
A polygon graphing can tile a surface or space, filling the space with mutually exclusive polygons.
It will check and complete position points by the rule of:
[point] => [point]
- Inheritance
-
- Object
- GeomElement<
PolygonShape> - PartitionElement<
PolygonShape> - PolygonElement
Constructors
-
PolygonElement({ColorAttr? color, ElevationAttr? elevation, GradientAttr? gradient, LabelAttr? label, Varset? position, ShapeAttr<
PolygonShape> ? shape, SizeAttr? size, List<Modifier> ? modifiers, int? layer, Selected? selected, StreamController<Selected?> ? selectionChannel}) - Creates a polygon element.
Properties
- color ↔ ColorAttr?
-
The color attribute of this element.
getter/setter pairinherited
- elevation ↔ ElevationAttr?
-
The shadow elevation attribute of this element.
getter/setter pairinherited
- gradient ↔ GradientAttr?
-
The gradient attribute of this element.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ LabelAttr?
-
The label attribute of this element.
getter/setter pairinherited
- layer ↔ int?
-
The layer of this element.
getter/setter pairinherited
-
modifiers
↔ List<
Modifier> ? -
The collision modifiers applied to this element.
getter/setter pairinherited
- position ↔ Varset?
-
Algebra expression of the element position.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected ↔ Selected?
-
The selection name and selected tuple indexes triggered initially.
getter/setter pairinherited
-
selectionChannel
↔ StreamController<
Selected?> ? -
The interaction channel of selections.
getter/setter pairinherited
-
shape
↔ ShapeAttr<
PolygonShape> ? -
The shape attribute of this element.
getter/setter pairinherited
- size ↔ SizeAttr?
-
The size attribute of this element.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited