Package | org.apache.flex.core |
Class | public class FilledRectangle |
Inheritance | FilledRectangle ![]() ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Property | Defined By | ||
---|---|---|---|
![]() | beads : Array
The array property that is used to add additional
beads to an MXML tag. | UIBase | |
![]() | className : String
The classname. | UIBase | |
![]() | element : Object [read-only]
Each IUIBase has an element that is actually added to
the platform's display list DOM. | UIBase | |
![]() | explicitHeight : Number
The explicitly set width (as opposed to measured width
or percentage width). | UIBase | |
![]() | explicitWidth : Number
The explicitly set width (as opposed to measured width
or percentage width). | UIBase | |
fillColor : uint
The color of the rectangle. | FilledRectangle | ||
![]() | height : Number [override]
The height of the component. | UIBase | |
![]() | id : String
An id property for MXML documents. | UIBase | |
![]() | measurementBead : IMeasurementBead [read-only]
A measurement bead, if one exists. | UIBase | |
![]() | model : IBeadModel
An IBeadModel that serves as the data model for the component. | UIBase | |
![]() | numElements : int [read-only]
The number of elements in the parent. | UIBase | |
![]() | percentHeight : Number
The requested percentage height this component
should have in the parent container. | UIBase | |
![]() | percentWidth : Number
The requested percentage width this component
should have in the parent container. | UIBase | |
![]() | width : Number [override]
The width of the component. | UIBase |
Method | Defined By | ||
---|---|---|---|
Constructor. | FilledRectangle | ||
![]() |
Add a bead to the strand. | UIBase | |
![]() | addedToParent():void
The method called when added to a parent. | UIBase | |
![]() | addElement(c:Object):void
Add a component to the parent. | UIBase | |
![]() | addElementAt(c:Object, index:int):void
Add a component to the parent. | UIBase | |
drawRect(x:Number, y:Number, width:Number, height:Number):void
Draw the rectangle. | FilledRectangle | ||
![]() | getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand. | UIBase | |
![]() | getElementIndex(c:Object):int
Gets the index of this subcomponent. | UIBase | |
![]() |
Remove a bead from the strand. | UIBase | |
![]() | removeElement(c:Object):void
Remove a component from the parent. | UIBase |
fillColor | property |
fillColor:uint
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The color of the rectangle.
public function get fillColor():uint
public function set fillColor(value:uint):void
FilledRectangle | () | Constructor |
public function FilledRectangle()
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Constructor.
drawRect | () | method |
public function drawRect(x:Number, y:Number, width:Number, height:Number):void
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Draw the rectangle.
Parameters
x:Number — The x position of the top-left corner of the rectangle.
| |
y:Number — The y position of the top-left corner.
| |
width:Number — The width of the rectangle.
| |
height:Number — The height of the rectangle.
|