ALine

ALine definuje úsečku ze dvou bodů typu APoint

Summary
ALine definuje úsečku ze dvou bodů typu APoint
Bod od
Kam
Vrací délku úsečky

Properties

from

Bod od

to

Kam

Functions

initialize

initialize: function(from,
to)

Arguments

fromBod typu APoint
topBod typu APoint

getLength

getLength: function()

Vrací délku úsečky

APoint definuje x a y souřadnice bodu v pixelech.
initialize: function(from,
to)
getLength: function()
Vrací délku úsečky