Skip to content

DeviceRectangleShape(float, float, float, float, Device) Constructor

Rectangle Constructor

1
DeviceRectangleShape(left, top, right, bottom, device=None)

Parameters

left System.Single

left position in the device coordinate system (between 0 and 1)

top System.Single

top position in the device coordinate system (between 0 and 1)

right System.Single

right position in the device coordinate system (between 0 and 1)

bottom System.Single

bottom position in the device coordinate system(between 0 and 1)

device Device

device