BaseGraphics
Extends:
Constructor Summary
| Public Constructor | ||
| public |
constructor(plugin: *, nLines: number, nArcs: number, nArrows: number) |
|
Member Summary
| Public Members | ||
| public |
arcs: *[] |
|
| public |
arrows: *[] |
|
| public |
dimPos2: * |
|
| public |
|
|
| public |
lastState: * |
|
| public |
lines: *[] |
|
| public |
|
|
| public |
plugin: * |
|
| public |
|
|
| public |
textNode: * |
|
Method Summary
| Public Methods | ||
| public |
destroy() |
|
| public |
onRender(hitObject: *) |
|
| public |
updateArc(i: *, center: *, radius: *, startAngle: *, endAngle: *) |
|
| public |
updateArrow(i: *, end: *, dir: *) |
|
| public |
updateCoordinateSystem(csys: *) |
|
| public |
updateFromState(state: *) |
|
| public |
updateLine(i: *, start: *, end: *) |
|
Public Constructors
Public Members
public arcs: *[] source
public arrows: *[] source
public dimPos2: * source
public dimensionPoint: * source
public lastState: * source
public lines: *[] source
public plugin: * source
public textNode: * source
Public Methods
public destroy() source
public onRender(hitObject: *) source
Params:
| Name | Type | Attribute | Description |
| hitObject | * |
public updateArc(i: *, center: *, radius: *, startAngle: *, endAngle: *) source
Params:
| Name | Type | Attribute | Description |
| i | * | ||
| center | * | ||
| radius | * | ||
| startAngle | * | ||
| endAngle | * |
public updateArrow(i: *, end: *, dir: *) source
Params:
| Name | Type | Attribute | Description |
| i | * | ||
| end | * | ||
| dir | * |
public updateCoordinateSystem(csys: *) source
Params:
| Name | Type | Attribute | Description |
| csys | * |
public updateFromState(state: *) source
Params:
| Name | Type | Attribute | Description |
| state | * |
public updateLine(i: *, start: *, end: *) source
Params:
| Name | Type | Attribute | Description |
| i | * | ||
| start | * | ||
| end | * |