
377
Last updated 5/2/2011
Chapter 35: 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
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().
RectangleObject.bottomLeftRadius
Availability
Flash CS3 Professional.
Usage
RectangleObject.bottomLeftRadius
Description
Read-only property; a float value that sets the radius of the bottom-left corner of the Rectangle object. If
RectangleObject.lockFlag is true, trying to set this value has no effect.
To set this value, use document.setRectangleObjectProperty().
See also
document.setRectangleObjectProperty(), RectangleObject.bottomRightRadius,
RectangleObject.lockFlag, RectangleObject.topLeftRadius, RectangleObject.topRightRadius
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.
Commenti su questo manuale