class org.aswing.graphics.Pen

Pen encapsulate normal lineStyle properties.
You can use pen to draw an ordinary shape. To draw gradient lines, refer to org.aswing.graphics.GradientPen

@see org.aswing.graphics.IPen @see org.aswing.graphics.GradientPen @see http://livedocs.macromedia.com/flex/2/langref/flash/display/Graphics.html#lineStyle() @author paling

Instance Fields

function new(color:ASColor, ?thickness:Float = 1, ?pixelHinting:Bool = false, ?scaleMode:LineScaleMode = null, ?caps:CapsStyle = null, ?joints:JointStyle = null, ?miterLimit:Float = 3): Void

Create a Pen.

function getCaps(): CapsStyle

function getColor(): ASColor

function getJoints(): JointStyle

function getMiterLimit(): Float

function getPixelHinting(): Bool

function getThickness(): Float

function setCaps(caps:CapsStyle): Void

function setColor(color:ASColor): Void

function setJoints(joints:JointStyle): Void

function setMiterLimit(miterLimit:Float): Void

function setPixelHinting(pixelHinting:Bool): Void

function setScaleMode(scaleMode:LineScaleMode): Void

function setThickness(thickness:Float): Void

function setTo(target:Graphics): Void

@inheritDoc