struct Blend2D::Geometry::RectI
- Blend2D::Geometry::RectI
- Blend2D::Geometry::GeometryType
- Struct
- Value
- Object
Defined in:
blend2d/geometry/rect.crConstructors
-
.new(x : Int32, y : Int32, w : Int32, h : Int32)
Initialize a new
RectI
given the position, width, and height. -
.new(point : PointI, w : Int32, h : Int32)
Initialize a new
Rect
given the position as a point, width, and height.
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.
Initialize a new Rect
given the position as a point, width, and height.