Inheritance Element object > Shape object > Rectangle object
Flash CS3 Professional.
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.
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. |