Reference Source Test
public class | source

TunedAngle

Tunable angle. Angle is chosen depends on table name in configuration.

Example:

new TuneAngle(
     150,
     [151, 'table_1'],
     [148, 'table_2']
);

Constructor Summary

Public Constructor
public

constructor(defaultAngle: Number)

Add multiple angles, add angle for each table.

Method Summary

Public Methods
public

Get angle depending on the chosen table in configuration.

Public Constructors

public constructor(defaultAngle: Number) source

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

Params:

NameTypeAttributeDescription
defaultAngle Number

Default point X coordinate

Public Methods

public getAngle(): Number source

Get angle depending on the chosen table in configuration.

Return:

Number

Angle