Reference Source Test
public class | source

TunedPoint

Tunable Point. Point coordinates are choose depends on table name in configuration.

Example:

new TunePoint(
     150, 129,
     [151, 129, 'table_1'],
     [148, 128, 'table_2']
);

Constructor Summary

Public Constructor
public

constructor(defaultX: Number, defaultY: Number)

Add multiple Points, add Points for each table.

Method Summary

Public Methods
public

Get point depending on the chosen table in configuration.

Public Constructors

public constructor(defaultX: Number, defaultY: Number) source

Add multiple Points, add Points for each table. It must has at least one Point which will be used as default. Other Points must have tag!

Params:

NameTypeAttributeDescription
defaultX Number

Default point X coordinate

defaultY Number

Default point Y coordinate

Public Methods

public getPoint(): Point source

Get point depending on the chosen table in configuration.

Return:

Point

Point