Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 2.44 KB

File metadata and controls

26 lines (16 loc) · 2.44 KB

RectangleObject summary

Inheritance Element object > Shape object > Rectangle object

Availability

Flash CS3 Professional.

Description

The Rectangle object is a shape that is drawn using the Rectangle Primitive tool. To determine if an item is a Rectangle object, use shape.isRectangleObject.

Property summary

In addition to the Shape object properties, you can use the following properties with the Rectangle object. To set the properties of a Rectangle object, use document.setRectangleObjectProperty().

Property Description
RectangleObject.bottomLeftRadius Read-only; a float value that sets the radius of the bottom-left corner of the Rectangle object.
RectangleObject.bottomRightRadius Read-only; a float value that sets the radius of the bottom-right corner of the Rectangle object.
RectangleObject.lockFlag Read-only; a Boolean value that determines whether different corners of the rectangle can have different radius values.
RectangleObject.topLeftRadius Read-only; a float value that sets the radius of all corners of the rectangle or that sets only the radius of the top-left corner of the Rectangle object.
RectangleObject.topRightRadius Read-only; a float value that sets the radius of the top-right corner of the Rectangle object.