struct Blend2D::Geometry::Rect

Defined in:

blend2d/geometry/rect.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Blend2D::Geometry::GeometryType

initialize initialize, pointer : Pointer pointer, type : LibBlend2D::BLGeometryType type

Constructor methods inherited from struct Blend2D::Geometry::GeometryType

new new

Constructor Detail

def self.new(x : Float64, y : Float64, w : Float64, h : Float64) #

Initialize a new Rect given the position, width, and height.


[View source]
def self.new(point : Point, w : Float64, h : Float64) #

Initialize a new Rect given the position as a point, width, and height.


[View source]

Instance Method Detail

def h : Float64 #

[View source]
def position #

The Point representing this Rect's position.


[View source]
def w : Float64 #

[View source]
def x : Float64 #

[View source]
def y : Float64 #

[View source]