Rectangle object

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 for the Rectangle object

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.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004348.html