class

Draw::SegmentedPath

Inherits Draw::Flattener < Draw::Liner < Reference < Object

Constructors

new(points : Array(Float64))
Source

Instance methods

close

Add the most recent starting point to close the path to create a polygon

Source
end_flattener

Mark the current line as finished so we can draw caps

Source
line_join

Use Round, Bevel or miter to join points

Source
line_to(x : Float64, y : Float64)

Draw a line from the current position to the point (x, y)

Source
move_to(x : Float64, y : Float64)

Start a New line from the point (x, y)

Source
points
Source