Packagecom.adobe.portfolio.components.supportClasses
Classpublic class CustomShape
InheritanceCustomShape Inheritance spark.components.supportClasses.SkinnableComponent



Public Properties
 PropertyDefined By
  backgroundAlpha : Number
CustomShape
  backgroundColorDark : uint
CustomShape
  backgroundColorLight : uint
CustomShape
  backgroundRotation : int
CustomShape
  borderAlpha : Number
CustomShape
  borderColorDark : uint
CustomShape
  borderColorlight : uint
CustomShape
  borderRotation : int
CustomShape
  cornerRadius : uint
CustomShape
  insetStrokeColor : uint
CustomShape
  insetStrokeColorVisible : Boolean
CustomShape
  isEllipse : Boolean
CustomShape
  isRectangle : Boolean
CustomShape
  strokeWeight : uint
CustomShape
Public Methods
 MethodDefined By
  
CustomShape
  
setCurrentState(stateName:String, playTransition:Boolean = true):void
[override] Sets the state of the skin as well as the state of this instance.
CustomShape
Protected Methods
 MethodDefined By
  
[override] Returns the current state of this instance, since its skins should have a matching set of states.
CustomShape
Property Detail
backgroundAlphaproperty
backgroundAlpha:Number

This property can be used as the source for data binding.


Implementation
    public function get backgroundAlpha():Number
    public function set backgroundAlpha(value:Number):void
backgroundColorDarkproperty 
backgroundColorDark:uint

This property can be used as the source for data binding.


Implementation
    public function get backgroundColorDark():uint
    public function set backgroundColorDark(value:uint):void
backgroundColorLightproperty 
backgroundColorLight:uint

This property can be used as the source for data binding.


Implementation
    public function get backgroundColorLight():uint
    public function set backgroundColorLight(value:uint):void
backgroundRotationproperty 
backgroundRotation:int

This property can be used as the source for data binding.


Implementation
    public function get backgroundRotation():int
    public function set backgroundRotation(value:int):void
borderAlphaproperty 
borderAlpha:Number

This property can be used as the source for data binding.


Implementation
    public function get borderAlpha():Number
    public function set borderAlpha(value:Number):void
borderColorDarkproperty 
borderColorDark:uint

This property can be used as the source for data binding.


Implementation
    public function get borderColorDark():uint
    public function set borderColorDark(value:uint):void
borderColorlightproperty 
borderColorlight:uint

This property can be used as the source for data binding.


Implementation
    public function get borderColorlight():uint
    public function set borderColorlight(value:uint):void
borderRotationproperty 
borderRotation:int

This property can be used as the source for data binding.


Implementation
    public function get borderRotation():int
    public function set borderRotation(value:int):void
cornerRadiusproperty 
cornerRadius:uint

This property can be used as the source for data binding.


Implementation
    public function get cornerRadius():uint
    public function set cornerRadius(value:uint):void
insetStrokeColorproperty 
insetStrokeColor:uint

This property can be used as the source for data binding.


Implementation
    public function get insetStrokeColor():uint
    public function set insetStrokeColor(value:uint):void
insetStrokeColorVisibleproperty 
insetStrokeColorVisible:Boolean

This property can be used as the source for data binding.


Implementation
    public function get insetStrokeColorVisible():Boolean
    public function set insetStrokeColorVisible(value:Boolean):void
isEllipseproperty 
isEllipse:Boolean

This property can be used as the source for data binding.


Implementation
    public function get isEllipse():Boolean
    public function set isEllipse(value:Boolean):void
isRectangleproperty 
isRectangle:Boolean

This property can be used as the source for data binding.


Implementation
    public function get isRectangle():Boolean
    public function set isRectangle(value:Boolean):void
strokeWeightproperty 
strokeWeight:uint

This property can be used as the source for data binding.


Implementation
    public function get strokeWeight():uint
    public function set strokeWeight(value:uint):void
Constructor Detail
CustomShape()Constructor
public function CustomShape()



Method Detail
getCurrentSkinState()method
override protected function getCurrentSkinState():String

Returns the current state of this instance, since its skins should have a matching set of states.

Returns
String
setCurrentState()method 
override public function setCurrentState(stateName:String, playTransition:Boolean = true):void

Sets the state of the skin as well as the state of this instance.

Parameters

stateName:String
 
playTransition:Boolean (default = true)