Draw::PathBuilder
PathBuilder describes the interface for path drawing.
Instance methods
arc_to(cx : Float64, cy : Float64, rx : Float64, ry : Float64, start_angle : Float64, angle : Float64)
Adds an arc to the current subpath
close
Creates a line from the current point to the last MoveTo point (if not the same) and mark the path as closed so the first and last lines join nicely.
cubic_curve_to(cx1 : Float64, cy1 : Float64, cx2 : Float64, cy2 : Float64, x : Float64, y : Float64)
Adds a cubic Bézier curve to the current subpath
quad_curve_to(cx : Float64, cy : Float64, x : Float64, y : Float64)
Adds a quadratic Bézier curve to the current subpath