Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ICompoundGraphic

Package | org.apache.flex.graphics
Interface | public interface ICompoundGraphic extends IGraphicShape, IUIBase, IStrand, IEventDispatcher
Implementors | CompoundGraphic

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| 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

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addBead(bead:IBead):void 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
|  | removeBead(bead:IBead):IBead Remove a bead from the strand. | IStrand

Property Detail

textFill | property

`textFill:IFill`

Implementation
`public function get textFill():IFill`
`public function set textFill(value:IFill):void`

textStroke | property |

`textStroke:IStroke`

Implementation
`public function get textStroke():IStroke`
`public function set textStroke(value:IStroke):void`
Method Detail

clear | () | method

`public function clear():void`

drawCircle | () | method |

`public function drawCircle(x:Number, y:Number, radius:Number):void`

Parameters

| `x:Number`
| `y:Number`
| `radius:Number`

drawEllipse | () | method |

`public function drawEllipse(x:Number, y:Number, width:Number, height:Number):void`

Parameters

| `x:Number`
| `y:Number`
| `width:Number`
| `height:Number`

drawPathCommands | () | method |

`public function drawPathCommands(data:PathBuilder):void`

Parameters

| `data:PathBuilder`

drawRect | () | method |

`public function drawRect(x:Number, y:Number, width:Number, height:Number):void`

Parameters

| `x:Number`
| `y:Number`
| `width:Number`
| `height:Number`

drawStringPath | () | method |

`public function drawStringPath(data:String):void`

Parameters

| `data:String`

drawText | () | method |

`public function drawText(value:String, x:Number, y:Number):Object`

Parameters

| `value:String`
| `x:Number`
| `y:Number`

Returns

| `Object`

Mon Sep 5 2016, 07:19 AM -07:00