struct Blend2D::Geometry::BoxI
- Blend2D::Geometry::BoxI
- Blend2D::Geometry::GeometryType
- Struct
- Value
- Object
Overview
A box struct, restricted to integers.
Defined in:
blend2d/geometry/rect.crConstructors
-
.new(x0 : Int32, y0 : Int32, x1 : Int32, y1 : Int32)
Initialize a new
BoxI
given two integer pairs representing points. - .new(a : PointI, b : PointI)
Instance Method Summary
-
#a
The first point representing the box's position.
-
#b
The second point representing the box's position/size.
- #x0 : Int32
- #x1 : Int32
- #y0 : Int32
- #y1 : Int32
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(x0 : Int32, y0 : Int32, x1 : Int32, y1 : Int32)
#
Initialize a new BoxI
given two integer pairs representing points.