Constructors
Properties
Methods
addDynamics
- addDynamics(icontour): void
Returns void
addLine
- addLine(iline): void
Returns void
addLines
- addLines(ilines): void
Returns void
addMainO
- addMainO(iFace): void
Returns void
addMainOI
- addMainOI(iFace): void
Returns void
addPoint
- addPoint(ipoint): void
Returns void
addPoints
- addPoints(ipoints): void
Returns void
addSecond
- addSecond(icontour): void
Returns void
addVector
- addVector(ivector): void
Returns void
clear
- clear(): void
Returns void
draw
- draw(ctx, adjust, layers): void
Returns void
drawRuler
- drawRuler(ctx, adjust, color): void
Returns void
getAdjustFull
- getAdjustFull(iCanvasWidth, iCanvasHeight): tCanvasAdjust
Parameters
- iCanvasWidth: number
- iCanvasHeight: number
getAdjustZoom
- getAdjustZoom(iCanvasWidth, iCanvasHeight): tCanvasAdjust
Parameters
- iCanvasWidth: number
- iCanvasHeight: number
getMinMax
- getMinMax(): void
Internal
Returns void
mergeFigure
- mergeFigure(ifig, mainToSecond?): void
Parameters
- ifig: Figure
- mainToSecond: boolean = false
Returns void
quantifyRuler
- quantifyRuler(canvasWidth, adjust): number[]
Internal
Returns number[]
rotate
- rotate(ix, iy, ia): Figure
Parameters
- ix: number
- iy: number
- ia: number
translatePolar
- translatePolar(ia, il): Figure
add a simple face (one Outer contour) to the Main Layer