Winter Cardinal UI - v0.457.0 / DDiagramCanvasTileMappingPointImpl
ObservablePoint
↳ DDiagramCanvasTileMappingPointImpl
• new DDiagramCanvasTileMappingPointImpl(cb, scope, x?, y?): DDiagramCanvasTileMappingPointImpl
| Name | Type |
|---|---|
cb |
(…params: any[]) => any |
scope |
any |
x? |
number |
y? |
number |
DDiagramCanvasTileMappingPointImpl
ObservablePoint.constructor
node_modules/pixi.js/pixi.js.d.ts:12458
• x: number
The position of the displayObject on the x axis relative to the local coordinates of the parent.
Member
ObservablePoint.x
node_modules/pixi.js/pixi.js.d.ts:12505
• y: number
The position of the displayObject on the x axis relative to the local coordinates of the parent.
Member
ObservablePoint.y
node_modules/pixi.js/pixi.js.d.ts:12511
• get lat(): number
number
src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:21
• set lat(lat): void
| Name | Type |
|---|---|
lat |
number |
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:25
• get lon(): number
number
src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:13
• set lon(lon): void
| Name | Type |
|---|---|
lon |
number |
void
src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:17
▸ clone(cb?, scope?): ObservablePoint
Creates a clone of this point. The callback and scope params can be overidden otherwise they will default to the clone object’s values.
| Name | Type | Description |
|---|---|---|
cb? |
(…params: any[]) => any |
callback when changed |
scope? |
any |
owner of callback |
ObservablePoint
a copy of the point
ObservablePoint.clone
node_modules/pixi.js/pixi.js.d.ts:12469
▸ copyFrom(p): this
Copies x and y from the given point
| Name | Type | Description |
|---|---|---|
p |
IPointData |
The point to copy from. |
this
Returns itself.
ObservablePoint.copyFrom
node_modules/pixi.js/pixi.js.d.ts:12485
▸ copyTo(p): IPoint
Copies x and y into the given point
| Name | Type | Description |
|---|---|---|
p |
IPoint |
The point to copy. |
IPoint
Given point with values updated
ObservablePoint.copyTo
node_modules/pixi.js/pixi.js.d.ts:12492
▸ equals(p): boolean
Returns true if the given point is equal to this point
| Name | Type | Description |
|---|---|---|
p |
IPointData |
The point to check |
boolean
Whether the given point equal to this point
ObservablePoint.equals
node_modules/pixi.js/pixi.js.d.ts:12499
▸ set(x?, y?): this
Sets the point to a new x and y position. If y is omitted, both x and y will be set to x.
| Name | Type | Description |
|---|---|---|
x? |
number |
position of the point on the x axis |
y? |
number |
position of the point on the y axis |
this
Returns itself.
ObservablePoint.set
node_modules/pixi.js/pixi.js.d.ts:12478
▸ toObject(): Object
Object
| Name | Type |
|---|---|
lat |
number |
lon |
number |
src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:29