struct

Blend2D::Geometry::Rect

Inherits Blend2D::Geometry::GeometryType < Struct < Value < Object

Constructors

new(x : Float64, y : Float64, w : Float64, h : Float64)

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

Source
new(point : Point, w : Float64, h : Float64)

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

Source

Instance methods

position

The Point representing this Rect's position.

Source