Vertices class
A set of vertex data used by Canvas.drawVertices.
Constructors
-
Vertices(VertexMode mode,
List< Offset> positions,{List< Offset> textureCoordinates,List< Color> colors,List< int> indices}) - Creates a set of vertex data for use with Canvas.drawVertices. [...]
-
Vertices.raw(VertexMode mode,
Float32List positions, {Float32List textureCoordinates, Int32List colors, Uint16List indices} ) - Creates a set of vertex data for use with Canvas.drawVertices, directly using the encoding methods of new Vertices. [...]
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited