struct

PF2d::QuadSpline(T)

Inherits Struct < Value < Object

Quadratic spline It is assumed that every other point is an off-curve point starting with an on-curve point

Constructors

new(points : Indexable::Mutable(PF2d::Vec2(T)))
Source
new(*points : Vec2(T))
Source

Instance methods

%(value)

Applies % to all points in this spline

Source
*(value)

Applies * to all points in this spline

Source
**(value)

Applies ** to all points in this spline

Source
+(value)

Applies + to all points in this spline

Source
-(value)

Applies - to all points in this spline

Source
/(value)

Applies / to all points in this spline

Source
//(value)

Applies // to all points in this spline

Source
closed_curves

Yield quad curves for each set of 3 points, wrapping to the beginning

Source
closed_rect
Source
curves

Yield quad curves for each set of 3 points

Source
horizontal_intersects(y, &)
Source
merge(other)
Source
points
Source
points=(points : Indexable::Mutable(Vec2(T)))
Source
rect
Source