Q
- Colour representation for the axis rendererD
- The type of the data unitsU
- The type of the converted unitspublic interface DataUnitsTransformer<Q,D,U>
Modifier and Type | Method and Description |
---|---|
U |
calculatePosition(D units)
For a given coordinate in the units of the data, will calculate
the render coordinates
|
D |
calculateUnitsAt(U position)
Calculates the data unit coordinate at the given render coordinates
|
void |
precalc()
Force a precalculation of the variables required for
the pixel transformation.
|
U |
scaleDimension(D dimension)
Given a specific data dimension, calculates a render dimension.
|
void precalc()
U calculatePosition(D units)
units
- The unit to convert to render coordinatesD calculateUnitsAt(U position)
position
- The data rendered position to convertU scaleDimension(D dimension)
dimension
- The units/data dimension