class Blend2D::Geometry::Path

Defined in:

blend2d/geometry/path.cr

Constructors

Instance Method Summary

Instance methods inherited from class Blend2D::BLStructure

finalize finalize, pointer : Pointer pointer

Constructor Detail

def self.new #

Initializes a path.


[View source]

Instance Method Detail

def ==(other : Path) #

[View source]
def add_box(box : BoxI, direction : GeometryDirection) #

[View source]
def add_box(box : BoxD, direction : GeometryDirection) #

[View source]
def add_geometry(geometry : GeometryType, direction : GeometryDirection, matrix : Matrix = nil) #

[View source]
def add_path(other : Path, range : Blend2D::Globals::Range) #

[View source]
def add_rect(rect : RectI, direction : GeometryDirection) #

[View source]
def add_rect(rect : Rect, direction : GeometryDirection) #

[View source]
def add_transformed_path(other : Path, range : Blend2D::Globals::Range, matrix : Matrix) #

[View source]
def add_translated_path(other : Path, range : Blend2D::Globals::Range, point : Point) #

[View source]
def arc_quadrant_to(x1, y1, x2, y2) #

[View source]
def arc_to(x, y, rx, ry, start, sweep, force_move_to) #

[View source]
def bounding_box #

[View source]
def clear #

[View source]
def close #

[View source]
def control_box #

[View source]
def cubic_to(x1, y1, x2, y2, x3, y3) #

[View source]
def elliptic_arc_to(rx, ry, x_rotation, large_arc, sweep, x1, y1) #

[View source]
def finalize #
Description copied from class Blend2D::BLStructure

Called when Crystal's garbage collector collects this instance.


[View source]
def last_vertex #

[View source]
def line_to(x, y) #

[View source]
def move_to(x, y) #

[View source]
def quad_to(x1, y1, x2, y2) #

[View source]
def shrink #

[View source]
def smooth_cubic_to(x2, y2, x3, y3) #

[View source]
def smooth_quad_to(x2, y2) #

[View source]
def transform(range : Blend2D::Globals::Range, matrix : Matrix) #

[View source]
def translate(range : Blend2D::Globals::Range, point : Point) #

[View source]
def vertices #

[View source]