PathOpsPathBuffers class

Accumulates path commands into the flat verb/point buffers that cross the native boundary. Verb byte values match rive::PathVerb (move=0, line=1, quad=2, cubic=4, close=5); points are consumed per-verb on the native side (move/line=1 point, quad=2, cubic=3, close=0).

Constructors

PathOpsPathBuffers()

Properties

hashCode int
The hash code for this object.
no setterinherited
isConsistent bool
Whether points carries exactly the floats verbs consume. Always true for buffers built through the verb methods (they append in lockstep); checked at the native boundary anyway so a future construction path can't feed the C++ side a short buffer (it reads points by verb with no length information).
no setter
isEmpty bool
no setter
points Float32List
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verbs Uint8List
no setter

Methods

close() → void
cubicTo(double ox, double oy, double ix, double iy, double x, double y) → void
lineTo(double x, double y) → void
moveTo(double x, double y) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quadTo(double cx, double cy, double x, double y) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited