Packagecom.gestureworks.cml.utils
Classpublic class CircleText
InheritanceCircleText Inheritance ElementFactory Inheritance flash.display.Sprite

The CircleText utility creates text in curved shape.
     
        var c1:CircleText = new CircleText(-10, 10, 100, "MENU", 0.4, 0, 0);
        addChild(c1);
        
     

See also

com.gestureworks.cml.element.Text
com.gestureworks.cml.element.TLF


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] sets the alpha for display objects
ElementFactory
 Inheritedblur : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedbottom : Number
sets the bottom value
ElementFactory
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
sets the class name of displayobject
ElementFactory
 InheritedcmlIndex : int
sets the cml index
ElementFactory
 InheriteddebugStyle : *
sets the debug style
ElementFactory
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 InheriteddropShadow : Boolean
Sets the drop shadow effect
ElementFactory
 Inheritedheight : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedheightPercent : String
sets the height percent of display object
ElementFactory
 InheritedhorizontalCenter : Number
sets the horizontal center of display object
ElementFactory
 Inheritedid : String
sets the id of child
ElementFactory
 Inheritedindex : int
sets the index of display object
ElementFactory
 Inheritedleft : Number
sets left value
ElementFactory
 InheritedpropertyStates : Array
Deprecated: Please Use state
ElementFactory
 Inheritedright : Number
sets the right value
ElementFactory
 Inheritedscale : Number
Sets both the x and y scale values
ElementFactory
 InheritedscaleX : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedscaleY : Number
[override] Sets width of the display object in pixels
ElementFactory
 Inheritedstate : Array
property states array
ElementFactory
 Inheritedtop : Number
sets top value
ElementFactory
 InheritedverticalCenter : Number
sets the vertical center of display object
ElementFactory
 Inheritedwidth : Number
[override] Sets width of the display object in pixels
ElementFactory
 InheritedwidthPercent : String
sets the percent of width of display object
ElementFactory
Public Methods
 MethodDefined By
  
CircleText(textX:Number, textY:Number, textRadius:Number, curveText:String, coverage:Number, startAngle:Number, stopAngle:Number)
Constructor
CircleText
 Inherited
clone():*
Returns clone of self
ElementFactory
 Inherited
CML callback
ElementFactory
 Inherited
dispose():void
Calls the Dispose method for each child possessing a Dispose method then removes all children.
ElementFactory
 Inherited
init():void
Initialization function
ElementFactory
 Inherited
parseCML(cml:XMLList):XMLList
parses cml file
ElementFactory
 Inherited
postparseCML(cml:XMLList):void
post parses the cml file
ElementFactory
 Inherited
updateProperties(state:Number = 0):void
this method updates the properties
ElementFactory
Constructor Detail
CircleText()Constructor
public function CircleText(textX:Number, textY:Number, textRadius:Number, curveText:String, coverage:Number, startAngle:Number, stopAngle:Number)

Constructor

Parameters
textX:Number — x position of text
 
textY:Number — y position of text
 
textRadius:Number — radius of the text
 
curveText:String — name of the text
 
coverage:Number — coverage area of the text
 
startAngle:Number — start angle of the text
 
stopAngle:Number — stop angle of the text