Class com.sekati.draw.Line

Description

Line Object

Field Index

_p1, _p2, _sa, _sc, _sw, p1x, p1y, p2x, p2y

Method Index

new Line()
draw()

Constructor Detail

Line

public function Line(mc:MovieClip, p1:Point, p2:Point, strokeWeight:Number, strokeColor:Number, strokeAlpha:Number)

Line Constructor

Parameters

mc(MovieClip)
p1(Point) point 1
p2(Point) point 2
strokeWeight(Number) line width [default: 1]
strokeColor(Number) line color [default: 0x000000]
strokeAlpha(Number) line alpha transparency [default: 100]

Return

Void

Field Detail

_p1

public _p1:Point

_p2

public _p2:Point

_sw

public _sw:Number

_sc

public _sc:Number

_sa

public _sa:Number

p1x

public p1x:Number

p1y

public p1y:Number

p2x

public p2x:Number

p2y

public p2y:Number

Method Detail

draw

public function draw():Void

(Re)Draw line with current properties.

Return

Void