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