set_parameters#

Rectangle.set_parameters(rep_type, param1, param2, param3, param4, corner_rad, rotation)#

Set coordinate parameters.

Parameters:
rep_typeRectangleRepresentationType

Type that defines the meaning of the given parameters.

param1Value

X value of the lower-left point or center point.

param2Value

Y value of the lower-left point or center point.

param3Value

X value of the upper-right point or width.

param4Value

Y value of the upper-right point or height.

corner_radValue

Corner radius.

rotationValue

Rotation.