Packageorg.apache.flex.graphics
Classpublic class SolidColorStroke
InheritanceSolidColorStroke Inheritance Object
Implements IStroke



Public Properties
 PropertyDefined By
  alpha : Number
The transparency of a color.
SolidColorStroke
  color : uint
A color value.
SolidColorStroke
  lineCap : String
The cap type on line segments.
SolidColorStroke
  lineDash : Array
An array describing the pattern of line dashes.
SolidColorStroke
  lineJoin : String
The join type of two segments.
SolidColorStroke
  miterLimit : Number
The miter limit at the join of two segments.
SolidColorStroke
  weight : Number
A color value.
SolidColorStroke
Public Methods
 MethodDefined By
  
SolidColorStroke(color:uint = 0x000000, weight:Number = 1, alpha:Number = 1.0)
SolidColorStroke
  
SolidColorStroke
  
setLineStyle(weight:Number, color:uint = 0, alpha:Number, caps:String = null, joints:String = null, miterLimit:Number):void
SolidColorStroke
Property Detail
alphaproperty
alpha:Number

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 10.2, AIR 2.6

The transparency of a color. Possible values are 0.0 (invisible) through 1.0 (opaque).

The default value is 1.0.


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

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 9, AIR 1.1

A color value.


Implementation
    public function get color():uint
    public function set color(value:uint):void
lineCapproperty 
lineCap:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 10.2, AIR 2.6

The cap type on line segments. Possible values are butt round and square.

The default value is butt.


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

See also

lineDashproperty 
lineDash:Array

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7
Runtime Versions : Flash Player 10.2, AIR 2.6

An array describing the pattern of line dashes.

The default value is [none].


Implementation
    public function get lineDash():Array
    public function set lineDash(value:Array):void
lineJoinproperty 
lineJoin:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7
Runtime Versions : Flash Player 10.2, AIR 2.6

The join type of two segments. Possible values are miter round and bevel.

The default value is miter.


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

See also

miterLimitproperty 
miterLimit:Number

Language Version : ActionScript 3.0
Product Version : FlexJS 0.7
Runtime Versions : Flash Player 10.2, AIR 2.6

The miter limit at the join of two segments.

The default value is 4.


Implementation
    public function get miterLimit():Number
    public function set miterLimit(value:Number):void
weightproperty 
weight:Number

Language Version : ActionScript 3.0
Product Version : FlexJS 0.3
Runtime Versions : Flash Player 9, AIR 1.1

A color value.


Implementation
    public function get weight():Number
    public function set weight(value:Number):void
Constructor Detail
SolidColorStroke()Constructor
public function SolidColorStroke(color:uint = 0x000000, weight:Number = 1, alpha:Number = 1.0)



Parameters
color:uint (default = 0x000000)
 
weight:Number (default = 1)
 
alpha:Number (default = 1.0)
Method Detail
apply()method
public function apply(s:IGraphicShape):void

Parameters

s:IGraphicShape

setLineStyle()method 
public function setLineStyle(weight:Number, color:uint = 0, alpha:Number, caps:String = null, joints:String = null, miterLimit:Number):void

Parameters

weight:Number (default = NaN)
 
color:uint (default = 0)
 
alpha:Number (default = NaN)
 
caps:String (default = null)
 
joints:String (default = null)
 
miterLimit:Number (default = NaN)