class

NanoSVG::Path

Inherits Reference < Object

Constructors

Instance methods

bounds

Tight bounding box of the path [minx,miny,maxx,maxy].

Source
bounds=(bounds : Array(Float32))

Tight bounding box of the path [minx,miny,maxx,maxy].

Source
closed

Flag indicating if shapes should be treated as closed.

Source
closed=(closed : Bool)

Flag indicating if shapes should be treated as closed.

Source
dup

Equivalent of nsvgDuplicatePath.

Source
npts
Source
pts

Cubic bezier points: x0,y0, [cpx1,cpy1,cpx2,cpy2,x1,y1], ... (npts-1) must be divisible by 3.

Source
pts=(pts : Array(Float32))

Cubic bezier points: x0,y0, [cpx1,cpy1,cpx2,cpy2,x1,y1], ... (npts-1) must be divisible by 3.

Source