Packagecom.gestureworks.cml.factories
Classpublic class GraphicFactory
InheritanceGraphicFactory Inheritance TouchContainer Inheritance TouchContainerFactory Inheritance TouchSprite Inheritance flash.display.Sprite
Subclasses Frame, Graphic

The GraphicFactory is the base class for all Graphics. It is an abstract class that is not meant to be called directly.

See also

com.gestureworks.cml.factories.Graphic
com.gestureworks.cml.factories.ElementFactory
com.gestureworks.cml.factories.ObjectFactory


Public Properties
 PropertyDefined By
 Inherited_$height : Number = 0
TouchSprite
 Inherited_$rotation : Number = 0
TouchSprite
 Inherited$rotation : Number
TouchSprite
 Inherited_$scaleX : Number = 1
TouchSprite
 Inherited$scaleX : Number
TouchSprite
 Inherited_$scaleY : Number = 1
TouchSprite
 Inherited$scaleY : Number
TouchSprite
 Inherited$transformPoint : Point
TouchSprite
 Inherited_$width : Number = 0
TouchSprite
 Inherited_$x : Number = 0
TouchSprite
 Inherited$x : Number
TouchSprite
 Inherited_$y : Number = 0
TouchSprite
 Inherited$y : Number
TouchSprite
  anchorX : Number
Sets the anchor X of curve.
GraphicFactory
  anchorY : Number
Sets the anchor Y of curve.
GraphicFactory
 InheritedautoShuffle : Boolean
autoshuffles
TouchContainerFactory
  bottomLeftRadius : Number
sets the bottom left radius of the graphic object
GraphicFactory
  bottomRightRadius : Number
sets the bottom right radius of the graphic object
GraphicFactory
 InheritedbroadcastTarget : Boolean
TouchSprite
 InheritedchildList : ChildList
[read-only] returns the childlist
TouchContainerFactory
 Inheritedclass_ : String
Object's css class;
TouchContainerFactory
 InheritedclassName : String
sets the class name of displayobject
TouchContainerFactory
 InheritedcloneExclusions : Vector.<String>
[read-only] Returns a list of properties to exclude when cloning this object
TouchContainer
 InheritedclusterBubbling : Boolean
Allows touch points from a childclusters to copy into container touch objects in the local parent child display list stack.
TouchSprite
 InheritedclusterEvents : Boolean
Determins whether clusterEvents are processed and dispatched on the touchSprite.
TouchSprite
 InheritedclusterID : int
TouchSprite
 InheritedcmlIndex : int
sets the cml index
TouchContainerFactory
 Inheritedcml_item : Boolean
TouchSprite
 InheritedcO : ClusterObject
TouchSprite
  color : uint
Sets fill color when fill type is color
GraphicFactory
  controlX : Number
Sets the control X of curve.
GraphicFactory
  controlY : Number
Sets the control y value of curve.
GraphicFactory
  cornerHeight : Number
Sets the height of the ellipse that is used to round the rectangle.
GraphicFactory
  cornerWidth : Number
Sets the width of the ellipse that is used to round the rectangle.
GraphicFactory
 InheriteddebugDisplay : Boolean
TouchSprite
 InheriteddeltaFilterOn : Boolean
Determins whether filtering is applied to the delta values.
TouchSprite
 InheriteddimensionsTo : String
sets the dimensions of touchcontainer
TouchContainerFactory
 InheriteddisableAffineTransform : Boolean
Determins whether internal (native) transformations are affine (dynamically centered) on the touchSprite.
TouchSprite
 InheriteddisableNativeTransform : Boolean
Determins whether transformations are handled internally (natively) on the touchSprite.
TouchSprite
 InheriteddN : Number
TouchSprite
 InheriteddropShadow : Boolean
Sets the drop shadow effect
TouchContainerFactory
  fill : String
Sets fill type, choose: color, gradient todo: implement shader and bitmap fills
GraphicFactory
  fillAlpha : Number
Sets fill alpha when fill type is color
GraphicFactory
 InheritedGESTRELIST_UPDATE : String = gestureList update
[static]
TouchSprite
 InheritedgestureEventComplete : Boolean
Indicates weather all gestureEvents have been completed on the touchSprite.
TouchSprite
 InheritedgestureEventRelease : Boolean
Indicates whether all touch points have been released on the touchSprite.
TouchSprite
 InheritedgestureEvents : Boolean
Determins whether gestureEvents are processed and dispatched on the touchSprite.
TouchSprite
 InheritedgestureEventStart : Boolean
Indicates whether any gestureEvents have been started on the touchSprite.
TouchSprite
 InheritedgestureFilters : Boolean
TouchSprite
 InheritedgestureList : Object
TouchSprite
 InheritedgestureReleaseInertia : Boolean
Determins whether release inertia is given to gestureEvents on the touchSprite.
TouchSprite
 InheritedgestureTouchInertia : Boolean
Determins whether touch inertia is processed on the touchSprite.
TouchSprite
 Inherited_gestureTweenOn : Boolean = false
TouchSprite
 InheritedgestureTweenOn : Boolean
TouchSprite
 InheritedgO : GestureListObject
TouchSprite
  gradientAlphas : 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
  gradientColors : String
Sets gradient colors when fill type is gradient Ordered list, max 12 (ex: 0x000000, 0x555555, 0xFFFFFF)
GraphicFactory
  gradientFocalPointRatio : Number
A number that controls the location of the focal point of the gradient.
GraphicFactory
  gradientHeight : Number
The height (in pixels) to which the gradient will spread.
GraphicFactory
  gradientInterpolation : String
Specifies which interpolation value to use: RGB or linearRGB
GraphicFactory
  gradientRatios : String
Color distribution ratios; valid values are 0-255.
GraphicFactory
  gradientRotation : Number
Sets the rotation (in degrees) that will be applied to the gradient.
GraphicFactory
  gradientSpread : String
Specifies which gradient spread method to use.
GraphicFactory
  gradientType : String
Sets gradient type when fill type is gradient.
GraphicFactory
  gradientWidth : Number
Sets the width (in pixels) to which the gradient will spread.
GraphicFactory
  gradientX : Number
Sets how far (in pixels) the gradient is shifted horizontally.
GraphicFactory
  gradientY : Number
Sets how far (in pixels) the gradient is shifted vertically.
GraphicFactory
 Inheritedgroup : String
TouchContainerFactory
  height : Number
[override] Sets graphics with
GraphicFactory
 Inheritedid : String
sets childlist id
TouchContainerFactory
 Inheritedlayout : *
speciffies the type of layout
TouchContainerFactory
 InheritedlayoutComplete : Function
Sets the function to call when the layout is complete
TouchContainer
 InheritedlayoutList : Dictionary
TouchContainer
 InheritedlayoutUpdate : Function
Sets the function to call when the layout updates
TouchContainer
  line : String
Sets line type, choose: color, gradient todo: implement shader and bitmap lines
GraphicFactory
  lineAlpha : Number
Sets the alpha of the line
GraphicFactory
  lineCaps : String
Specifies the type of cap on the line ends Choose: none, round, or square
GraphicFactory
  lineColor : uint
Sets the color of the line Line type must be color
GraphicFactory
  lineGradientAlphas : 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
  lineGradientColors : String
Sets lineGradient colors when line type is gradient Ordered list, max 12 (ex: 0x000000, 0x555555, 0xFFFFFF)
GraphicFactory
  lineGradientFocalPointRatio : Number
A number that controls the location of the focal point of the lineGradient.
GraphicFactory
  lineGradientHeight : Number
The height (in pixels) to which the gradient will spread.
GraphicFactory
  lineGradientInterpolation : String
Specifies which interpolation value to use: RGB or linearRGB
GraphicFactory
  lineGradientRatios : String
Color distribution ratios; valid values are 0-255.
GraphicFactory
  lineGradientRotation : Number
Sets the rotation (in degrees) that will be applied to the gradient.
GraphicFactory
  lineGradientSpread : String
Specifies which gradient spread method to use.
GraphicFactory
  lineGradientType : String
Sets lineGradient type when line type is gradient.
GraphicFactory
  lineGradientWidth : Number
Sets the width (in pixels) to which the gradient will spread.
GraphicFactory
  lineGradientX : Number
Sets how far (in pixels) the gradient is shifted horizontally.
GraphicFactory
  lineGradientY : Number
Sets how far (in pixels) the gradient is shifted vertically.
GraphicFactory
  lineJoints : String
Specifies the type of joint on the line ends Choose: miter, round, or bevel
GraphicFactory
  lineMiterLimit : Number
Specifies the limit at which the miter is cut off
GraphicFactory
  linePixelHinting : Boolean
Specifies whether to hint strokes to full pixels.
GraphicFactory
  lineScaleMode : 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
  lineStroke : Number
Sets the width of the line stroke (in pixels)
GraphicFactory
 InheritedmaxScale : Number
This method is called after class initialization.
TouchContainerFactory
 InheritedminScale : Number
This method is called after class initialization.
TouchContainerFactory
 InheritedmouseChildren : Boolean
[override] sets the mousechildren value to true or false.
TouchContainerFactory
 InheritedN : int
TouchSprite
 InheritednestedTransform : Boolean
TouchSprite
 Inheritedoutline_alpha : Number
sets the alpha of outline
TouchContainerFactory
 Inheritedoutline_color : Number
sets the color of outline
TouchContainerFactory
 Inheritedoutline_joint : String
TODO
TouchContainerFactory
 InheritedoutlineOn : String
specifies the outline of container to true or false
TouchContainerFactory
 Inheritedoutline_stroke : int
sets the line stroke of outline
TouchContainerFactory
  pathCommands : String
Sets the path moveTo and lineTo values
GraphicFactory
  pathCommandsVector : Vector.<int>
GraphicFactory
  pathCoordinates : String
Sets the path coordinates
GraphicFactory
  pathCoordinatesVector : Vector.<Number>
GraphicFactory
 InheritedpointArray : Vector.<PointObject>
[read-only]
TouchSprite
 InheritedpointCount : int
TouchSprite
 InheritedpropertyStates : Array
Deprecated: Please Use state
TouchContainerFactory
  radius : Number
Sets radius (in pixels) of circle.
GraphicFactory
 Inheritedscale : Number
Scales display object
TouchContainer
  shape : String
Sets predefined shape type.
GraphicFactory
 InheritedsO : StrokeObject
TouchSprite
  startX : Number
Sets starting X position for curve
GraphicFactory
  startY : Number
Sets starting Y position for curve
GraphicFactory
 Inheritedstate : Array
property states array
TouchContainerFactory
 Inheritedtargeting : Boolean
Turns off manual ALL targeting control, defaults to a simple hit test targeting model with exclusive target clustering
TouchSprite
 InheritedtargetList : Array
Allows touch and gesture events to explicitly target a group of defined touch objects which can be outside of the local parent child display list stack
TouchSprite
 InheritedtargetObject : Object
Allows touch and gesture events to explicitly target a touch object this can be outside the local parent child display list stack
TouchSprite
 InheritedtargetParent : Boolean
Allows touch and gesture events to explicitly target the parent touch object
TouchSprite
 Inheritedtc : TouchCluster
TouchSprite
 Inheritedtd : TouchDebugDisplay
TouchSprite
 Inheritedtg : TouchGesture
TouchSprite
 InheritedtiO : TimelineObject
TouchSprite
  topLeftRadius : Number
sets the top left radius of the graphic object
GraphicFactory
  topRightRadius : Number
sets the top right radius of the grpahic object
GraphicFactory
 InheritedtouchChildren : Boolean
TouchSprite
 InheritedtouchObjectID : int
[read-only]
TouchSprite
 Inheritedtp : TouchPipeline
TouchSprite
 InheritedtraceDebugModeOn : Boolean
TouchSprite
 InheritedtransformComplete : Boolean
TouchSprite
 InheritedtransformEventComplete : Boolean
TouchSprite
 InheritedtransformEvents : Boolean
Determins whether transformEvents are processed and dispatched on the touchSprite.
TouchSprite
 InheritedtransformEventStart : Boolean
TouchSprite
 InheritedtransformGestureVectors : Boolean
Determins whether transformations are handled internally (natively) on the touchSprite.
TouchSprite
 InheritedtransformStart : Boolean
TouchSprite
 InheritedtrO : TransformObject
TouchSprite
 Inheritedtt : TouchTransform
TouchSprite
  width : Number
[override] Sets graphics with
GraphicFactory
 Inheritedx_lock : Boolean
TouchSprite
 Inheritedy_lock : Boolean
TouchSprite
Protected Properties
 PropertyDefined By
 InheritedcmlGestureList : Object
TouchContainerFactory
  gradientAlphaArray : Array
GraphicFactory
  gradientColorArray : Array
GraphicFactory
  _gradientInterpolation : String = rgb
GraphicFactory
  gradientRatioArray : Array
GraphicFactory
  _gradientRotation : Number = 0
GraphicFactory
  _gradientSpread : String = pad
GraphicFactory
  _gradientType : String = linear
GraphicFactory
  _height : Number = 0
GraphicFactory
  _lineCaps : String = none
GraphicFactory
  lineGradientAlphaArray : Array
GraphicFactory
  lineGradientColorArray : Array
GraphicFactory
  _lineGradientInterpolation : String = rgb
GraphicFactory
  lineGradientRatioArray : Array
GraphicFactory
  _lineGradientRotation : Number = 0
GraphicFactory
  _lineGradientSpread : String = pad
GraphicFactory
  _lineGradientType : String = linear
GraphicFactory
  _lineJoints : String = miter
GraphicFactory
  _lineMiterLimit : Number = 3
GraphicFactory
  _lineScaleMode : String = normal
GraphicFactory
  matrix : Matrix
GraphicFactory
  _width : Number = 0
GraphicFactory
Public Methods
 MethodDefined By
  
Constructor
GraphicFactory
 Inherited
TODO
TouchContainerFactory
 Inherited
method searches the child and adds to the list
TouchContainerFactory
 Inherited
addChild(child:DisplayObject):DisplayObject
[override] Adds child to display list and, if not already added, the child list
TouchContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override] Registers event listeners.
TouchSprite
 Inherited
applyLayout(value:* = null):void
Apply the containers layout
TouchContainer
 Inherited
childToList(id:String, child:*):void
child appended to the childlist
TouchContainerFactory
  
clear():void
Clears the graphics that were drawn to this Graphics object, and resets fill and line style settings.
GraphicFactory
 Inherited
clone():*
Clone method
TouchContainer
  
Copies all of drawing commands from the source Graphics object into the calling Graphics object.
GraphicFactory
 Inherited
[override]
TouchContainer
  
dispose():void
[override] Dispose method
GraphicFactory
 Inherited
hideIndex(index:int):void
hides child list index
TouchContainer
 Inherited
hideKey(key:String):void
hides childlist key visibility
TouchContainer
 Inherited
init():void
Initialisation method
TouchContainer
 Inherited
makeGestureList(value:XMLList):Object
TODO
TouchContainerFactory
 Inherited
onTouchDown(event:TouchEvent, target:* = null):void
decides how to assign the captured touch point to a cluster can pass to parent, an explicit target, an explicit list or targets or a passed to any touch object in the local display stack.
TouchSprite
 Inherited
parseCML(cml:XMLList):XMLList
[override] Parse cml for local layouts.
TouchContainer
 Inherited
postparseCML(cml:XMLList):void
postparse method
TouchContainerFactory
 Inherited
searchChildren(value:*, returnType:Class = null):*
This method does a depth first search of childLists.
TouchContainer
 Inherited
method sets the dimensions of each child
TouchContainerFactory
 Inherited
showIndex(index:int):void
shows index of the child list
TouchContainer
 Inherited
showKey(key:String):void
shows the child list key visibility
TouchContainer
 Inherited
TouchSprite
 Inherited
TouchSprite
 Inherited
TouchSprite
  
Abstract drawing method, meant to be overriden.
GraphicFactory
 Inherited
Registers/unregisters event handlers depending on the active modes
TouchSprite
 Inherited
TouchSprite
 Inherited
updateProperties(state:Number = 0):void
update properties of child
TouchContainerFactory
 Inherited
TouchSprite
 Inherited
TouchSprite
Protected Methods
 MethodDefined By
 Inherited
This method is called after class initialization.
TouchContainerFactory
 Inherited
This method is called after class initialization.
TouchContainerFactory
 Inherited
randomMinMax(min:Number, max:Number):Number
This method is called after class initialization.
TouchContainerFactory
 Inherited
This method is called after class initialization.
TouchContainerFactory
 Inherited
thumbUpdate(event:Event):void
This method is called after class initialization.
TouchContainerFactory
Property Detail
_gradientInterpolationproperty
protected var _gradientInterpolation:String = rgb

_gradientRotationproperty 
protected var _gradientRotation:Number = 0

_gradientSpreadproperty 
protected var _gradientSpread:String = pad

_gradientTypeproperty 
protected var _gradientType:String = linear

_heightproperty 
protected var _height:Number = 0

_lineCapsproperty 
protected var _lineCaps:String = none

_lineGradientInterpolationproperty 
protected var _lineGradientInterpolation:String = rgb

_lineGradientRotationproperty 
protected var _lineGradientRotation:Number = 0

_lineGradientSpreadproperty 
protected var _lineGradientSpread:String = pad

_lineGradientTypeproperty 
protected var _lineGradientType:String = linear

_lineJointsproperty 
protected var _lineJoints:String = miter

_lineMiterLimitproperty 
protected var _lineMiterLimit:Number = 3

_lineScaleModeproperty 
protected var _lineScaleMode:String = normal

_widthproperty 
protected var _width:Number = 0

anchorXproperty 
anchorX:Number

Sets the anchor X of curve.

The default value is 10.


Implementation
    public function get anchorX():Number
    public function set anchorX(value:Number):void
anchorYproperty 
anchorY:Number

Sets the anchor Y of curve.

The default value is 10.


Implementation
    public function get anchorY():Number
    public function set anchorY(value:Number):void
bottomLeftRadiusproperty 
bottomLeftRadius:Number

sets the bottom left radius of the graphic object

The default value is 0;.


Implementation
    public function get bottomLeftRadius():Number
    public function set bottomLeftRadius(value:Number):void
bottomRightRadiusproperty 
bottomRightRadius:Number

sets the bottom right radius of the graphic object

The default value is 0;.


Implementation
    public function get bottomRightRadius():Number
    public function set bottomRightRadius(value:Number):void
colorproperty 
color:uint

Sets fill color when fill type is color

The default value is 0x333333.


Implementation
    public function get color():uint
    public function set color(value:uint):void
controlXproperty 
controlX:Number

Sets the control X of curve.

The default value is 10.


Implementation
    public function get controlX():Number
    public function set controlX(value:Number):void
controlYproperty 
controlY:Number

Sets the control y value of curve.

The default value is 10.


Implementation
    public function get controlY():Number
    public function set controlY(value:Number):void
cornerHeightproperty 
cornerHeight:Number

Sets the height of the ellipse that is used to round the rectangle. Shape type must be round rectangle.

The default value is 10.


Implementation
    public function get cornerHeight():Number
    public function set cornerHeight(value:Number):void
cornerWidthproperty 
cornerWidth:Number

Sets the width of the ellipse that is used to round the rectangle. Shape type must be round rectangle.

The default value is 10.


Implementation
    public function get cornerWidth():Number
    public function set cornerWidth(value:Number):void
fillproperty 
fill:String

Sets fill type, choose: color, gradient todo: implement shader and bitmap fills

The default value is color.


Implementation
    public function get fill():String
    public function set fill(value:String):void
fillAlphaproperty 
fillAlpha:Number

Sets fill alpha when fill type is color

The default value is 1.


Implementation
    public function get fillAlpha():Number
    public function set fillAlpha(value:Number):void
gradientAlphaArrayproperty 
protected var gradientAlphaArray:Array

gradientAlphasproperty 
gradientAlphas: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)

The default value is 1, 1.


Implementation
    public function get gradientAlphas():String
    public function set gradientAlphas(value:String):void
gradientColorArrayproperty 
protected var gradientColorArray:Array

gradientColorsproperty 
gradientColors:String

Sets gradient colors when fill type is gradient Ordered list, max 12 (ex: 0x000000, 0x555555, 0xFFFFFF)

The default value is 0x333333, 0xAAAAAA.


Implementation
    public function get gradientColors():String
    public function set gradientColors(value:String):void
gradientFocalPointRatioproperty 
gradientFocalPointRatio:Number

A number that controls the location of the focal point of the gradient. A value of 0 sets the focal point in the center. A value of 1 sets the focal point at one border of the gradient circle. A value of -1 sets the focal point at the other border of the gradient circle. A value less than -1 or greater than 1 is rounded to -1 or 1, respectively.

The default value is 0.0.


Implementation
    public function get gradientFocalPointRatio():Number
    public function set gradientFocalPointRatio(value:Number):void
gradientHeightproperty 
gradientHeight:Number

The height (in pixels) to which the gradient will spread. Fill type must be gradient.

The default value is 100.


Implementation
    public function get gradientHeight():Number
    public function set gradientHeight(value:Number):void
gradientInterpolationproperty 
gradientInterpolation:String

Specifies which interpolation value to use: RGB or linearRGB

The default value is RGB.


Implementation
    public function get gradientInterpolation():String
    public function set gradientInterpolation(value:String):void
gradientRatioArrayproperty 
protected var gradientRatioArray:Array

gradientRatiosproperty 
gradientRatios:String

Color distribution ratios; valid values are 0-255. This value defines the percentage of the width where the color is sampled at 100%. The value 0 represents the left position in the gradient box, and 255 represents the right position in the gradient box. Fill type must be gradient. The values must increase sequentially; for example, "0, 63, 127, 190, 255". Ordered list, (ex: 0, 255)

The default value is 0, 255.


Implementation
    public function get gradientRatios():String
    public function set gradientRatios(value:String):void
gradientRotationproperty 
gradientRotation:Number

Sets the rotation (in degrees) that will be applied to the gradient. Fill type must be gradient.

The default value is 0.


Implementation
    public function get gradientRotation():Number
    public function set gradientRotation(value:Number):void
gradientSpreadproperty 
gradientSpread:String

Specifies which gradient spread method to use. Choose: pad, reflect, or repeat. Fill type must be gradient.

The default value is pad.


Implementation
    public function get gradientSpread():String
    public function set gradientSpread(value:String):void
gradientTypeproperty 
gradientType:String

Sets gradient type when fill type is gradient. Choose: linear or radial


Implementation
    public function get gradientType():String
    public function set gradientType(value:String):void
gradientWidthproperty 
gradientWidth:Number

Sets the width (in pixels) to which the gradient will spread. Fill type must be gradient.

The default value is 100.


Implementation
    public function get gradientWidth():Number
    public function set gradientWidth(value:Number):void
gradientXproperty 
gradientX:Number

Sets how far (in pixels) the gradient is shifted horizontally. Fill type must be gradient.

The default value is 0.


Implementation
    public function get gradientX():Number
    public function set gradientX(value:Number):void
gradientYproperty 
gradientY:Number

Sets how far (in pixels) the gradient is shifted vertically. Fill type must be gradient.

The default value is 0.


Implementation
    public function get gradientY():Number
    public function set gradientY(value:Number):void
heightproperty 
height:Number[override]

Sets graphics with

The default value is 0.


Implementation
    public function get height():Number
    public function set height(value:Number):void
lineproperty 
line:String

Sets line type, choose: color, gradient todo: implement shader and bitmap lines

The default value is color.


Implementation
    public function get line():String
    public function set line(value:String):void
lineAlphaproperty 
lineAlpha:Number

Sets the alpha of the line

The default value is 1.


Implementation
    public function get lineAlpha():Number
    public function set lineAlpha(value:Number):void
lineCapsproperty 
lineCaps:String

Specifies the type of cap on the line ends Choose: none, round, or square

The default value is none.


Implementation
    public function get lineCaps():String
    public function set lineCaps(value:String):void
lineColorproperty 
lineColor:uint

Sets the color of the line Line type must be color

The default value is 0xFFFFFF.


Implementation
    public function get lineColor():uint
    public function set lineColor(value:uint):void
lineGradientAlphaArrayproperty 
protected var lineGradientAlphaArray:Array

lineGradientAlphasproperty 
lineGradientAlphas: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)

The default value is 1, 1.


Implementation
    public function get lineGradientAlphas():String
    public function set lineGradientAlphas(value:String):void
lineGradientColorArrayproperty 
protected var lineGradientColorArray:Array

lineGradientColorsproperty 
lineGradientColors:String

Sets lineGradient colors when line type is gradient Ordered list, max 12 (ex: 0x000000, 0x555555, 0xFFFFFF)

The default value is 0x333333, 0xAAAAAA.


Implementation
    public function get lineGradientColors():String
    public function set lineGradientColors(value:String):void
lineGradientFocalPointRatioproperty 
lineGradientFocalPointRatio:Number

A number that controls the location of the focal point of the lineGradient. A value of 0 sets the focal point in the center. A value of 1 sets the focal point at one border of the lineGradient circle. A value of -1 sets the focal point at the other border of the lineGradient circle. A value less than -1 or greater than 1 is rounded to -1 or 1, respectively.

The default value is 0.0.


Implementation
    public function get lineGradientFocalPointRatio():Number
    public function set lineGradientFocalPointRatio(value:Number):void
lineGradientHeightproperty 
lineGradientHeight:Number

The height (in pixels) to which the gradient will spread. Line type must be lineGradient.

The default value is 100.


Implementation
    public function get lineGradientHeight():Number
    public function set lineGradientHeight(value:Number):void
lineGradientInterpolationproperty 
lineGradientInterpolation:String

Specifies which interpolation value to use: RGB or linearRGB

The default value is RGB.


Implementation
    public function get lineGradientInterpolation():String
    public function set lineGradientInterpolation(value:String):void
lineGradientRatioArrayproperty 
protected var lineGradientRatioArray:Array

lineGradientRatiosproperty 
lineGradientRatios:String

Color distribution ratios; valid values are 0-255. This value defines the percentage of the width where the color is sampled at 100%. The value 0 represents the left position in the gradient box, and 255 represents the right position in the gradient box. Line type must be gradient. The values must increase sequentially; for example, "0, 63, 127, 190, 255". Ordered list, (ex: 0, 255)

The default value is 0, 255.


Implementation
    public function get lineGradientRatios():String
    public function set lineGradientRatios(value:String):void
lineGradientRotationproperty 
lineGradientRotation:Number

Sets the rotation (in degrees) that will be applied to the gradient. Line type must be lineGradient.

The default value is 0.


Implementation
    public function get lineGradientRotation():Number
    public function set lineGradientRotation(value:Number):void
lineGradientSpreadproperty 
lineGradientSpread:String

Specifies which gradient spread method to use. Choose: pad, reflect, or repeat. Line type must be gradient.

The default value is pad.


Implementation
    public function get lineGradientSpread():String
    public function set lineGradientSpread(value:String):void
lineGradientTypeproperty 
lineGradientType:String

Sets lineGradient type when line type is gradient. Choose: linear or radial


Implementation
    public function get lineGradientType():String
    public function set lineGradientType(value:String):void
lineGradientWidthproperty 
lineGradientWidth:Number

Sets the width (in pixels) to which the gradient will spread. Line type must be gradient.

The default value is 100.


Implementation
    public function get lineGradientWidth():Number
    public function set lineGradientWidth(value:Number):void
lineGradientXproperty 
lineGradientX:Number

Sets how far (in pixels) the gradient is shifted horizontally. Line type must be lineGradient.

The default value is 0.


Implementation
    public function get lineGradientX():Number
    public function set lineGradientX(value:Number):void
lineGradientYproperty 
lineGradientY:Number

Sets how far (in pixels) the gradient is shifted vertically. Line type must be lineGradient.

The default value is 0.


Implementation
    public function get lineGradientY():Number
    public function set lineGradientY(value:Number):void
lineJointsproperty 
lineJoints:String

Specifies the type of joint on the line ends Choose: miter, round, or bevel

The default value is miter.


Implementation
    public function get lineJoints():String
    public function set lineJoints(value:String):void
lineMiterLimitproperty 
lineMiterLimit:Number

Specifies the limit at which the miter is cut off

The default value is 3.


Implementation
    public function get lineMiterLimit():Number
    public function set lineMiterLimit(value:Number):void
linePixelHintingproperty 
linePixelHinting:Boolean

Specifies whether to hint strokes to full pixels. This affects both the position of anchors of a curve and the line stroke size itself. With pixelHinting set to true, line widths are adjusted to full pixel widths. With pixelHinting set to false, disjoints can appear for curves and straight lines. Note: Not supported in Flash Lite 4

The default value is false.


Implementation
    public function get linePixelHinting():Boolean
    public function set linePixelHinting(value:Boolean):void
lineScaleModeproperty 
lineScaleMode: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). none - Never scale the line thickness. horizontal - Do not scale the line thickness if the object is scaled horzontal only. vertical - Do not scale the line thickness if the object is scaled vertically only.

The default value is normal.


Implementation
    public function get lineScaleMode():String
    public function set lineScaleMode(value:String):void
lineStrokeproperty 
lineStroke:Number

Sets the width of the line stroke (in pixels)

The default value is 1.


Implementation
    public function get lineStroke():Number
    public function set lineStroke(value:Number):void
matrixproperty 
protected var matrix:Matrix

pathCommandsproperty 
pathCommands:String

Sets the path moveTo and lineTo values


Implementation
    public function get pathCommands():String
    public function set pathCommands(value:String):void
pathCommandsVectorproperty 
public var pathCommandsVector:Vector.<int>

pathCoordinatesproperty 
pathCoordinates:String

Sets the path coordinates


Implementation
    public function get pathCoordinates():String
    public function set pathCoordinates(value:String):void
pathCoordinatesVectorproperty 
public var pathCoordinatesVector:Vector.<Number>

radiusproperty 
radius:Number

Sets radius (in pixels) of circle. Shape type must be circle.

The default value is 100.


Implementation
    public function get radius():Number
    public function set radius(value:Number):void
shapeproperty 
shape:String

Sets predefined shape type. Choose: line, rectangle, circle or ellipse

The default value is line.


Implementation
    public function get shape():String
    public function set shape(value:String):void
startXproperty 
startX:Number

Sets starting X position for curve

The default value is 0.


Implementation
    public function get startX():Number
    public function set startX(value:Number):void
startYproperty 
startY:Number

Sets starting Y position for curve

The default value is 0.


Implementation
    public function get startY():Number
    public function set startY(value:Number):void
topLeftRadiusproperty 
topLeftRadius:Number

sets the top left radius of the graphic object

The default value is 0;.


Implementation
    public function get topLeftRadius():Number
    public function set topLeftRadius(value:Number):void
topRightRadiusproperty 
topRightRadius:Number

sets the top right radius of the grpahic object

The default value is 0;.


Implementation
    public function get topRightRadius():Number
    public function set topRightRadius(value:Number):void
widthproperty 
width:Number[override]

Sets graphics with

The default value is 0.


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
GraphicFactory()Constructor
public function GraphicFactory()

Constructor

Method Detail
clear()method
public function clear():void

Clears the graphics that were drawn to this Graphics object, and resets fill and line style settings.

copyFrom()method 
public function copyFrom(source:GraphicFactory):void

Copies all of drawing commands from the source Graphics object into the calling Graphics object.

Parameters

source:GraphicFactory

dispose()method 
override public function dispose():void

Dispose method

updateGraphic()method 
public function updateGraphic():void

Abstract drawing method, meant to be overriden.