class

Blend2D::Geometry::Path

Inherits Blend2D::BLStructure < Reference < Object

Constructors

new

Initializes a path.

Source

Instance methods

==(other : Path)
Source
add_box(box : BoxI, direction : GeometryDirection)
Source
add_box(box : BoxD, direction : GeometryDirection)
Source
add_geometry(geometry : GeometryType, direction : GeometryDirection, matrix : Matrix = nil)
Source
add_path(other : Path, range : Blend2D::Globals::Range)
Source
add_rect(rect : RectI, direction : GeometryDirection)
Source
add_rect(rect : Rect, direction : GeometryDirection)
Source
add_transformed_path(other : Path, range : Blend2D::Globals::Range, matrix : Matrix)
Source
add_translated_path(other : Path, range : Blend2D::Globals::Range, point : Point)
Source
arc_quadrant_to(x1, y1, x2, y2)
Source
arc_to(x, y, rx, ry, start, sweep, force_move_to)
Source
bounding_box
Source
clear
Source
close
Source
control_box
Source
cubic_to(x1, y1, x2, y2, x3, y3)
Source
elliptic_arc_to(rx, ry, x_rotation, large_arc, sweep, x1, y1)
Source
finalize

Called when Crystal's garbage collector collects this instance.

Source
last_vertex
Source
line_to(x, y)
Source
move_to(x, y)
Source
quad_to(x1, y1, x2, y2)
Source
shrink
Source
smooth_cubic_to(x2, y2, x3, y3)
Source
smooth_quad_to(x2, y2)
Source
transform(range : Blend2D::Globals::Range, matrix : Matrix)
Source
translate(range : Blend2D::Globals::Range, point : Point)
Source
vertices
Source