2D polyline type. An abstract class mapping to an array of Vec3
s,
with the z
component at each point representing opacity there
Variables
Methods
inlineendY():Int
Retrieve y coordinate of the last point, rounded to integer (for segment-connecting algorithm)
inlineset(i:Int, v:Vec3):Vec3
Set point in the polyline via subscript operator ([i]
)
Parameters:
i | the index |
---|---|
v | the value |
inlinestartY():Int
Retrieve y coordinate of the first point, rounded to integer (for segment-connecting algorithm)