Added in Version 2.3.0

init(x: Double, y: Double, width: Double, height: Double)

Initialize object

init(x: Double, y: Double, width: Double, height: Double)

Parameter

x

X position of the start position (top left) of the rectangle (mm)

Double

y

Y position of the start position (top left) of the rectangle (mm)

Double

width

Width of rectangle (mm)

Double

height

Height of rectangle (mm)

Double