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