Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IStroke

Package | org.apache.flex.graphics
Interface | public interface IStroke
Implementors | SolidColorStroke

Public Properties

| Property | Defined By
--- | --- | ---
|  | lineCap : String | IStroke
|  | lineDash : Array | IStroke
|  | lineJoin : String | IStroke
|  | miterLimit : Number | IStroke

Public Methods

| Method | Defined By
--- | --- | ---
|  | apply(s:IGraphicShape):void | IStroke
|  | setLineStyle(weight:Number, color:uint = 0, alpha:Number, caps:String = null, joints:String = null, miterLimit:Number):void | IStroke

Property Detail

lineCap | property

`lineCap:String`

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

lineDash | property |

`lineDash:Array`

Implementation
`public function get lineDash():Array`
`public function set lineDash(value:Array):void`

lineJoin | property |

`lineJoin:String`

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

miterLimit | property |

`miterLimit:Number`

Implementation
`public function get miterLimit():Number`
`public function set miterLimit(value:Number):void`
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`)``

Mon Sep 5 2016, 07:19 AM -07:00