struct

Blend2D::Geometry::BoxI

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

A box struct, restricted to integers.

Constructors

new(x0 : Int32, y0 : Int32, x1 : Int32, y1 : Int32)

Initialize a new BoxI given two integer pairs representing points.

Source
new(a : PointI, b : PointI)

Initialize a new BoxI from two PointIs.

Source

Instance methods

a

The first point representing the box's position.

Source
b

The second point representing the box's position/size.

Source