Packagecom.gestureworks.cml.element
Classpublic class GraphicElement
InheritanceGraphicElement Inheritance GraphicFactory Inheritance ElementFactory Inheritance flash.display.Sprite



Public Properties
 PropertyDefined By
 Inheritedalpha : Number
[override] [write-only] Sets minimum scale of the display object in pixels
ElementFactory
 Inheritedbottom : Number
ElementFactory
 Inheritedclass_ : String
Object's css class;
ElementFactory
 InheritedclassName : String
ElementFactory
 InheritedcmlIndex : int
ElementFactory
 Inheritedcolor : uint
Sets fill color when fill type is color
GraphicFactory
 InheritedcornerHeight : Number
Sets the height of the ellipse that is used to round the rectangle.
GraphicFactory
 InheritedcornerWidth : Number
Sets the width of the ellipse that is used to round the rectangle.
GraphicFactory
 InheriteddebugStyle : *
ElementFactory
 InheriteddisplayEvents : String
Use for dispatch completes.
ElementFactory
 Inheritedfill : String
Sets fill type, choose: color, gradient todo: implement shader and bitmap fills
GraphicFactory
 InheritedfillAlpha : Number
Sets fill alpha when fill type is color
GraphicFactory
 InheritedfixedScale : Boolean
ElementFactory
 InheritedgradientAlphas : String
Sets gradient alphas when fill type is gradient Alpha values corespond to the colors in the gradientColors array Ordered list, max 12 (ex: 1, 1, 1)
GraphicFactory
 InheritedgradientColors : String
Sets gradient colors when fill type is gradient Ordered list, max 12 (ex: 0x000000, 0x555555, 0xFFFFFF)
GraphicFactory
 InheritedgradientFocalPointRatio : Number
A number that controls the location of the focal point of the gradient.
GraphicFactory
 InheritedgradientHeight : Number
The height (in pixels) to which the gradient will spread.
GraphicFactory
 InheritedgradientInterpolation : String
Specifies which interpolation value to use: RGB or linearRGB
GraphicFactory
 InheritedgradientRatios : String
Color distribution ratios; valid values are 0-255.
GraphicFactory
 InheritedgradientRotation : Number
Sets the rotation (in degrees) that will be applied to the gradient.
GraphicFactory
 InheritedgradientSpread : String
Specifies which gradient spread method to use.
GraphicFactory
 InheritedgradientType : String
Sets gradient type when fill type is gradient.
GraphicFactory
 InheritedgradientWidth : Number
Sets the width (in pixels) to which the gradient will spread.
GraphicFactory
 InheritedgradientX : Number
Sets how far (in pixels) the gradient is shifted horizontally.
GraphicFactory
 InheritedgradientY : Number
Sets how far (in pixels) the gradient is shifted vertically.
GraphicFactory
 Inheritedheight : Number
[override] Sets graphics with
GraphicFactory
 InheritedheightPercent : String
ElementFactory
 InheritedhorizontalCenter : Number
ElementFactory
 Inheritedid : String
ElementFactory
 Inheritedindex : int
ElementFactory
 Inheritedleft : Number
ElementFactory
 Inheritedline : String
Sets line type, choose: color, gradient todo: implement shader and bitmap lines
GraphicFactory
 InheritedlineAlpha : Number
Sets the alpha of the line
GraphicFactory
 InheritedlineCaps : String
Specifies the type of cap on the line ends Choose: none, round, or square
GraphicFactory
 InheritedlineColor : uint
Sets the color of the line Line type must be color
GraphicFactory
 InheritedlineGradientAlphas : String
Sets lineGradient alphas when line type is gradient Alpha values corespond to the colors in the gradient color list Ordered list, max 12 (ex: 1, 1, 1)
GraphicFactory
 InheritedlineGradientColors : String
Sets lineGradient colors when line type is gradient Ordered list, max 12 (ex: 0x000000, 0x555555, 0xFFFFFF)
GraphicFactory
 InheritedlineGradientFocalPointRatio : Number
A number that controls the location of the focal point of the lineGradient.
GraphicFactory
 InheritedlineGradientHeight : Number
The height (in pixels) to which the gradient will spread.
GraphicFactory
 InheritedlineGradientInterpolation : String
Specifies which interpolation value to use: RGB or linearRGB
GraphicFactory
 InheritedlineGradientRatios : String
Color distribution ratios; valid values are 0-255.
GraphicFactory
 InheritedlineGradientRotation : Number
Sets the rotation (in degrees) that will be applied to the gradient.
GraphicFactory
 InheritedlineGradientSpread : String
Specifies which gradient spread method to use.
GraphicFactory
 InheritedlineGradientType : String
Sets lineGradient type when line type is gradient.
GraphicFactory
 InheritedlineGradientWidth : Number
Sets the width (in pixels) to which the gradient will spread.
GraphicFactory
 InheritedlineGradientX : Number
Sets how far (in pixels) the gradient is shifted horizontally.
GraphicFactory
 InheritedlineGradientY : Number
Sets how far (in pixels) the gradient is shifted vertically.
GraphicFactory
 InheritedlineJoints : String
Specifies the type of joint on the line ends Choose: miter, round, or bevel
GraphicFactory
 InheritedlineMiterLimit : Number
Specifies the limit at which the miter is cut off
GraphicFactory
 InheritedlinePixelHinting : Boolean
Specifies whether to hint strokes to full pixels.
GraphicFactory
 InheritedlineScaleMode : String
Specifies how the line stroke size changes when graphic is scaled Choose: normal, none, or vertical normal - Always scale the line thickness when the object is scaled (the default).
GraphicFactory
 InheritedlineStroke : Number
Sets the width of the line stroke (in pixels)
GraphicFactory
 InheritedmaxScale : Number
Sets maximum scale of the display object in pixels
ElementFactory
 InheritedminScale : Number
Sets minimum scale of the display object in pixels
ElementFactory
 InheritedpropertyStates : Array
ElementFactory
 Inheritedradius : Number
Sets radius (in pixels) of circle.
GraphicFactory
 Inheritedright : Number
ElementFactory
 Inheritedscale : Number
Scales display object
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
 Inheritedshape : String
Sets predefined shape type.
GraphicFactory
 Inheritedtop : Number
ElementFactory
 InheritedverticalCenter : Number
ElementFactory
 Inheritedwidth : Number
[override] Sets graphics with
GraphicFactory
 InheritedwidthPercent : String
ElementFactory
Protected Properties
 PropertyDefined By
 InheritedgradientAlphaArray : Array
GraphicFactory
 InheritedgradientColorArray : Array
GraphicFactory
 Inherited_gradientInterpolation : String = rgb
GraphicFactory
 InheritedgradientRatioArray : Array
GraphicFactory
 Inherited_gradientRotation : Number = 0
GraphicFactory
 Inherited_gradientSpread : String = pad
GraphicFactory
 Inherited_gradientType : String = linear
GraphicFactory
 Inherited_height : Number = 0
GraphicFactory
 Inherited_lineCaps : String = none
GraphicFactory
 InheritedlineGradientAlphaArray : Array
GraphicFactory
 InheritedlineGradientColorArray : Array
GraphicFactory
 Inherited_lineGradientInterpolation : String = rgb
GraphicFactory
 InheritedlineGradientRatioArray : Array
GraphicFactory
 Inherited_lineGradientRotation : Number = 0
GraphicFactory
 Inherited_lineGradientSpread : String = pad
GraphicFactory
 Inherited_lineGradientType : String = linear
GraphicFactory
 Inherited_lineJoints : String = miter
GraphicFactory
 Inherited_lineMiterLimit : Number = 3
GraphicFactory
 Inherited_lineScaleMode : String = normal
GraphicFactory
 Inheritedmatrix : Matrix
GraphicFactory
 Inherited_width : Number = 0
GraphicFactory
Public Methods
 MethodDefined By
  
GraphicElement
 Inherited
clear():void
Clears the graphics that were drawn to this Graphics object, and resets fill and line style settings.
GraphicFactory
 Inherited
clone():Object
Returns clone of self
ElementFactory
 Inherited
Copies all of drawing commands from the source Graphics object into the calling Graphics object.
GraphicFactory
 Inherited
ElementFactory
 Inherited
dispose():void
Destructor
ElementFactory
 Inherited
parseCML(cml:XMLList):XMLList
ElementFactory
 Inherited
postparseCML(cml:XMLList):void
ElementFactory
 Inherited
print(value:*):void
Prints to console
ElementFactory
 Inherited
updateProperties(state:Number = 0):void
ElementFactory
Protected Methods
 MethodDefined By
 Inherited
commitUI():void
ElementFactory
 Inherited
createUI():void
ElementFactory
  
layoutUI():void
[override]
GraphicElement
 Inherited
updateUI():void
ElementFactory
Constructor Detail
GraphicElement()Constructor
public function GraphicElement()



Method Detail
layoutUI()method
override protected function layoutUI():void