VertexShape class abstract
Used to customize the vertex UI.
用于自定义节点的UI。
- Implementers
Constructors
-
VertexShape({List<
VertexDecorator> ? decorators})
Properties
-
decorators
↔ List<
VertexDecorator> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textRenderer ↔ VertexTextRenderer?
-
getter/setter pair
Methods
-
getPaint(
Vertex vertex) → Paint - update the paint from data.
-
height(
Vertex vertex) → double - compute the height of the shape from data, used for overlap and mouse event judgment.
-
isWeaken(
Vertex vertex) → bool - When some elements are activated and do not contain the current element.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Vertex vertex, Canvas canvas, Paint paint, List< Paint> paintLayers) → dynamic - render the vertex shape to canvas by data.
-
size(
Vertex vertex) → Vector2 - compute the size of the shape from data, used for overlap and mouse event judgment.
-
toString(
) → String -
A string representation of this object.
inherited
-
width(
Vertex vertex) → double - compute the width of the shape from data, used for overlap and mouse event judgment.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited