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