Packageardisia.components.graphicsEditor.graphicObjects
Classpublic class VectorGraphicObject
InheritanceVectorGraphicObject Inheritance GraphicObjectBase Inheritance spark.components.Group

Graphic object used to display vector drawing in the GraphicsEditor class.

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  fillAlpha : Number
Alpha for fills.
VectorGraphicObject
  fillColor : Number
Color for the fills.
VectorGraphicObject
  originUpperLeft : Boolean
For line drawing, true if the line should be drawn from the upper-left to the lower-right.
VectorGraphicObject
 Inheritedselected : Boolean
GraphicObjectBase
  strokeAlpha : Number
Alpha for Strokes.
VectorGraphicObject
  strokeColor : Number
Color of strokes.
VectorGraphicObject
  strokePixelHinting : Boolean
True to use pixel hinting for strokes.
VectorGraphicObject
  strokeWeight : Number
Weight for Strokes.
VectorGraphicObject
  type : String
Type of drawing.
VectorGraphicObject
Public Methods
 MethodDefined By
 Inherited
Create a clone of the graphic object.
GraphicObjectBase
Property Detail
fillAlphaproperty
fillAlpha:Number

Alpha for fills. Ranges from 0 to 1.

The default value is 1.


Implementation
    public function get fillAlpha():Number
    public function set fillAlpha(value:Number):void
fillColorproperty 
fillColor:Number

Color for the fills. NaN for transparent.

The default value is 1.


Implementation
    public function get fillColor():Number
    public function set fillColor(value:Number):void
originUpperLeftproperty 
originUpperLeft:Boolean

For line drawing, true if the line should be drawn from the upper-left to the lower-right. false if the drawing should be from the lower-left to the upper-right.

The default value is true.


Implementation
    public function get originUpperLeft():Boolean
    public function set originUpperLeft(value:Boolean):void
strokeAlphaproperty 
strokeAlpha:Number

Alpha for Strokes. Ranges from 0 to 1.

The default value is 1.


Implementation
    public function get strokeAlpha():Number
    public function set strokeAlpha(value:Number):void
strokeColorproperty 
strokeColor:Number

Color of strokes. NaN for transparent.

The default value is 0x000000.


Implementation
    public function get strokeColor():Number
    public function set strokeColor(value:Number):void
strokePixelHintingproperty 
strokePixelHinting:Boolean

True to use pixel hinting for strokes.

The default value is true.


Implementation
    public function get strokePixelHinting():Boolean
    public function set strokePixelHinting(value:Boolean):void
strokeWeightproperty 
strokeWeight:Number

Weight for Strokes.

The default value is true.


Implementation
    public function get strokeWeight():Number
    public function set strokeWeight(value:Number):void
typeproperty 
type:String

Type of drawing. Currently supports line, ellipse, and rectangle.

See the GraphicsEditorVectorTypes class.

The default value is rectangle.


Implementation
    public function get type():String
    public function set type(value:String):void