Package | mx.graphics |
Class | public class RoundedRectangle |
Inheritance | RoundedRectangle ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | bottom : Number
The sum of the y and
height properties.
| Rectangle | |
![]() | bottomRight : Point
The location of the Rectangle object's bottom-right corner, determined by the values of the right and
bottom properties.
| Rectangle | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
cornerRadius : Number = 0
The radius of each corner (in pixels).
| RoundedRectangle | ||
![]() | height : Number
The height of the rectangle, in pixels.
| Rectangle | |
![]() | left : Number
The x coordinate of the top-left corner of the rectangle.
| Rectangle | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
![]() | right : Number
The sum of the x and
width properties.
| Rectangle | |
![]() | size : Point
The size of the Rectangle object, expressed as a Point object with the values
of the width and height properties.
| Rectangle | |
![]() | top : Number
The y coordinate of the top-left corner of the rectangle.
| Rectangle | |
![]() | topLeft : Point
The location of the Rectangle object's top-left corner, determined by the x and
y coordinates of the point.
| Rectangle | |
![]() | width : Number
The width of the rectangle, in pixels.
| Rectangle | |
![]() | x : Number
The x coordinate of the top-left corner of the rectangle.
| Rectangle | |
![]() | y : Number
The y coordinate of the top-left corner of the rectangle.
| Rectangle |
Method | Defined By | ||
---|---|---|---|
RoundedRectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, cornerRadius:Number = 0)
Constructor.
| RoundedRectangle | ||
![]() |
Returns a new Rectangle object with the same values for the x, y,
width, and height properties as the original Rectangle object.
| Rectangle | |
![]() |
Determines whether the specified point is contained within the rectangular region defined
by this Rectangle object.
| Rectangle | |
![]() |
Determines whether the specified point is contained within the rectangular region defined
by this Rectangle object.
| Rectangle | |
![]() |
Determines whether the Rectangle object specified by the rect parameter is contained
within this Rectangle object.
| Rectangle | |
![]() |
Determines whether the object specified in the toCompare parameter is
equal to this Rectangle object.
| Rectangle | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Increases the size of the Rectangle object by the specified amounts, in pixels.
| Rectangle | |
![]() |
Increases the size of the Rectangle object.
| Rectangle | |
![]() |
If the Rectangle object specified in the toIntersect parameter intersects with this Rectangle
object, returns the area of intersection as a Rectangle object.
| Rectangle | |
![]() |
Determines whether the object specified in the toIntersect parameter intersects
with this Rectangle object.
| Rectangle | |
![]() |
Determines whether or not this Rectangle object is empty.
| Rectangle | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Adjusts the location of the Rectangle object, as determined by its top-left corner,
by the specified amounts.
| Rectangle | |
![]() |
Adjusts the location of the Rectangle object using a Point object as a parameter.
| Rectangle | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets all of the Rectangle object's properties to 0.
| Rectangle | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Builds and returns a string that lists the horizontal and vertical positions
and the width and height of the Rectangle object.
| Rectangle | |
![]() |
Adds two rectangles together to create a new Rectangle object, by
filling in the horizontal and vertical space between the two rectangles.
| Rectangle | |
![]() |
Returns the primitive value of the specified object.
| Object |
cornerRadius | property |
RoundedRectangle | () | Constructor |
public function RoundedRectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, cornerRadius:Number = 0)
Constructor.
Parametersx:Number (default = 0 )
|
|
y:Number (default = 0 )
|
|
width:Number (default = 0 )
|
|
height:Number (default = 0 )
|
|
cornerRadius:Number (default = 0 )
|