Package | com.adobe.portfolio.components.supportClasses |
Class | public class CustomShape |
Inheritance | CustomShape ![]() |
Property | Defined By | ||
---|---|---|---|
backgroundAlpha : Number [read-only]
The opacity of the skin's background fill gradient. | CustomShape | ||
backgroundColorDark : uint [read-only]
The first color used by the skin's background fill gradient. | CustomShape | ||
backgroundColorLight : uint [read-only]
The second color used by the skin's background fill gradient. | CustomShape | ||
backgroundRotation : int [read-only]
The rotation of the skin's background fill gradient. | CustomShape | ||
borderAlpha : Number [read-only]
The opacity of the skin's background stroke gradient. | CustomShape | ||
borderColorDark : uint [read-only]
The first color used by the skin's background stroke gradient. | CustomShape | ||
borderColorlight : uint [read-only]
The second color used by the skin's background stroke gradient. | CustomShape | ||
borderRotation : int [read-only]
The rotation of the skin's background stroke gradient. | CustomShape | ||
cornerRadius : uint [read-only]
The corner radius of a rectangular custom shape. | CustomShape | ||
insetStrokeColor : uint [read-only]
The color use by the skin's inset stroke. | CustomShape | ||
insetStrokeColorVisible : Boolean [read-only]
True if the skin's inset stroke should be visible; false otherwise. | CustomShape | ||
isEllipse : Boolean [read-only]
True if the data in this shape should be used to draw an ellipse; false otherwise. | CustomShape | ||
isRectangle : Boolean [read-only]
True if the data in this shape should be used to draw a rectangle; false otherwise. | CustomShape | ||
strokeWeight : uint [read-only]
The stroke weight of the skin's background stroke gradient. | CustomShape |
Method | Defined By | ||
---|---|---|---|
Default constructor. | CustomShape | ||
setCurrentState(stateName:String, playTransition:Boolean = true):void [override]
| CustomShape |
Method | Defined By | ||
---|---|---|---|
getCurrentSkinState():String [override]
| CustomShape |
backgroundAlpha | property |
backgroundAlpha:Number
[read-only] The opacity of the skin's background fill gradient.
This property can be used as the source for data binding.
public function get backgroundAlpha():Number
backgroundColorDark | property |
backgroundColorDark:uint
[read-only] The first color used by the skin's background fill gradient.
This property can be used as the source for data binding.
public function get backgroundColorDark():uint
backgroundColorLight | property |
backgroundColorLight:uint
[read-only] The second color used by the skin's background fill gradient.
This property can be used as the source for data binding.
public function get backgroundColorLight():uint
backgroundRotation | property |
backgroundRotation:int
[read-only] The rotation of the skin's background fill gradient.
This property can be used as the source for data binding.
public function get backgroundRotation():int
borderAlpha | property |
borderAlpha:Number
[read-only] The opacity of the skin's background stroke gradient.
This property can be used as the source for data binding.
public function get borderAlpha():Number
borderColorDark | property |
borderColorDark:uint
[read-only] The first color used by the skin's background stroke gradient.
This property can be used as the source for data binding.
public function get borderColorDark():uint
borderColorlight | property |
borderColorlight:uint
[read-only] The second color used by the skin's background stroke gradient.
This property can be used as the source for data binding.
public function get borderColorlight():uint
borderRotation | property |
borderRotation:int
[read-only] The rotation of the skin's background stroke gradient.
This property can be used as the source for data binding.
public function get borderRotation():int
cornerRadius | property |
cornerRadius:uint
[read-only] The corner radius of a rectangular custom shape.
This property can be used as the source for data binding.
public function get cornerRadius():uint
See also
insetStrokeColor | property |
insetStrokeColor:uint
[read-only] The color use by the skin's inset stroke. The inset stroke appears between the background fill and stroke in the z-order of the skin.
This property can be used as the source for data binding.
public function get insetStrokeColor():uint
insetStrokeColorVisible | property |
insetStrokeColorVisible:Boolean
[read-only] True if the skin's inset stroke should be visible; false otherwise.
This property can be used as the source for data binding.
public function get insetStrokeColorVisible():Boolean
isEllipse | property |
isEllipse:Boolean
[read-only] True if the data in this shape should be used to draw an ellipse; false otherwise.
This property can be used as the source for data binding.
public function get isEllipse():Boolean
isRectangle | property |
isRectangle:Boolean
[read-only] True if the data in this shape should be used to draw a rectangle; false otherwise.
This property can be used as the source for data binding.
public function get isRectangle():Boolean
strokeWeight | property |
strokeWeight:uint
[read-only] The stroke weight of the skin's background stroke gradient.
This property can be used as the source for data binding.
public function get strokeWeight():uint
CustomShape | () | Constructor |
public function CustomShape()
Default constructor.
getCurrentSkinState | () | method |
override protected function getCurrentSkinState():String
Returns
String |
setCurrentState | () | method |
override public function setCurrentState(stateName:String, playTransition:Boolean = true):void
Parameters
stateName:String | |
playTransition:Boolean (default = true )
|