Winter Cardinal UI - v0.442.0 / DDiagramCanvasTileMappingPointImpl

Class: DDiagramCanvasTileMappingPointImpl

Hierarchy

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new DDiagramCanvasTileMappingPointImpl(cb, scope, x?, y?): DDiagramCanvasTileMappingPointImpl

Parameters

Name Type
cb (…params: any[]) => any
scope any
x? number
y? number

Returns

DDiagramCanvasTileMappingPointImpl

Inherited from

ObservablePoint.constructor

Defined in

node_modules/pixi.js/pixi.js.d.ts:12458

Properties

x

x: number

The position of the displayObject on the x axis relative to the local coordinates of the parent.

Member

Inherited from

ObservablePoint.x

Defined in

node_modules/pixi.js/pixi.js.d.ts:12505


y

y: number

The position of the displayObject on the x axis relative to the local coordinates of the parent.

Member

Inherited from

ObservablePoint.y

Defined in

node_modules/pixi.js/pixi.js.d.ts:12511

Accessors

lat

get lat(): number

Returns

number

Implementation of

DMapTileMappingPoint.lat

Defined in

src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:21

set lat(lat): void

Parameters

Name Type
lat number

Returns

void

Implementation of

DMapTileMappingPoint.lat

Defined in

src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:25


lon

get lon(): number

Returns

number

Implementation of

DMapTileMappingPoint.lon

Defined in

src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:13

set lon(lon): void

Parameters

Name Type
lon number

Returns

void

Implementation of

DMapTileMappingPoint.lon

Defined in

src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:17

Methods

clone

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.

Parameters

Name Type Description
cb? (…params: any[]) => any callback when changed
scope? any owner of callback

Returns

ObservablePoint

a copy of the point

Inherited from

ObservablePoint.clone

Defined in

node_modules/pixi.js/pixi.js.d.ts:12469


copyFrom

copyFrom(p): this

Copies x and y from the given point

Parameters

Name Type Description
p IPointData The point to copy from.

Returns

this

Returns itself.

Inherited from

ObservablePoint.copyFrom

Defined in

node_modules/pixi.js/pixi.js.d.ts:12485


copyTo

copyTo(p): IPoint

Copies x and y into the given point

Parameters

Name Type Description
p IPoint The point to copy.

Returns

IPoint

Given point with values updated

Inherited from

ObservablePoint.copyTo

Defined in

node_modules/pixi.js/pixi.js.d.ts:12492


equals

equals(p): boolean

Returns true if the given point is equal to this point

Parameters

Name Type Description
p IPointData The point to check

Returns

boolean

Whether the given point equal to this point

Inherited from

ObservablePoint.equals

Defined in

node_modules/pixi.js/pixi.js.d.ts:12499


set

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.

Parameters

Name Type Description
x? number position of the point on the x axis
y? number position of the point on the y axis

Returns

this

Returns itself.

Inherited from

ObservablePoint.set

Defined in

node_modules/pixi.js/pixi.js.d.ts:12478


toObject

toObject(): Object

Returns

Object

Name Type
lat number
lon number

Defined in

src/main/typescript/wcardinal/ui/d-diagram-canvas-mapping-point-impl.ts:29