struct Blend2D::Geometry::RectI

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 : Int32, y : Int32, w : Int32, h : Int32) #

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


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

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


[View source]

Instance Method Detail

def h : Int32 #

[View source]
def position #

The Point representing this RectI's position.


[View source]
def w : Int32 #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]