| Package | org.apache.flex.graphics |
| Interface | public interface ICompoundGraphic extends IGraphicShape, IUIBase, IStrand, IEventDispatcher |
| Implementors | CompoundGraphic |
| Property | Defined By | ||
|---|---|---|---|
![]() | alpha : Number
The alpha or opacity in the range of 0 to 1. | IUIBase | |
![]() | element : IFlexJSElement [read-only]
Each IUIBase has an element that is actually added to
the platform's display list DOM. | IUIBase | |
![]() | graphics : Graphics [read-only] | IGraphicShape | |
![]() | height : Number
The height of the bounding box. | IUIBase | |
| textFill : IFill | ICompoundGraphic | ||
| textStroke : IStroke | ICompoundGraphic | ||
![]() | topMostEventDispatcher : IEventDispatcher [read-only]
The top most event dispatcher. | IUIBase | |
![]() | visible : Boolean
Whether the component is visible. | IUIBase | |
![]() | width : Number
The width of the bounding box. | IUIBase | |
![]() | x : Number
The x co-ordinate or left side position of the bounding box. | IUIBase | |
![]() | y : Number
The y co-ordinate or top position of the bounding box. | IUIBase | |
| Method | Defined By | ||
|---|---|---|---|
![]() |
Add a bead to the strand. | IStrand | |
![]() | addedToParent():void
Called by parent components when the component is
added via a call to addElement or addElementAt. | IUIBase | |
clear():void | ICompoundGraphic | ||
drawCircle(x:Number, y:Number, radius:Number):void | ICompoundGraphic | ||
drawEllipse(x:Number, y:Number, width:Number, height:Number):void | ICompoundGraphic | ||
drawPathCommands(data:PathBuilder):void | ICompoundGraphic | ||
drawRect(x:Number, y:Number, width:Number, height:Number):void | ICompoundGraphic | ||
drawStringPath(data:String):void | ICompoundGraphic | ||
drawText(value:String, x:Number, y:Number):Object | ICompoundGraphic | ||
![]() | getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand. | IStrand | |
![]() |
Remove a bead from the strand. | IStrand | |
| textFill | property |
textFill:IFill public function get textFill():IFill public function set textFill(value:IFill):void| textStroke | property |
textStroke:IStroke public function get textStroke():IStroke public function set textStroke(value:IStroke):void| clear | () | method |
public function clear():void| drawCircle | () | method |
public function drawCircle(x:Number, y:Number, radius:Number):voidParameters
x:Number | |
y:Number | |
radius:Number |
| drawEllipse | () | method |
public function drawEllipse(x:Number, y:Number, width:Number, height:Number):voidParameters
x:Number | |
y:Number | |
width:Number | |
height:Number |
| drawPathCommands | () | method |
| drawRect | () | method |
public function drawRect(x:Number, y:Number, width:Number, height:Number):voidParameters
x:Number | |
y:Number | |
width:Number | |
height:Number |
| drawStringPath | () | method |
public function drawStringPath(data:String):voidParameters
data:String |
| drawText | () | method |
public function drawText(value:String, x:Number, y:Number):ObjectParameters
value:String | |
x:Number | |
y:Number |
Object |