Class ScaleXyTransformation<T>
Provides class, which used to scale transform series with XyRenderPassData and it's inheritors.
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class ScaleXyTransformation<T> extends ScaleTransformationBase<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
ScaleXyTransformation(Class<T> rpdType, double zeroLine)
Create new instance of ScaleXyTransformation class.
Declaration
public ScaleXyTransformation(Class<T> rpdType, double zeroLine)
Parameters
Type | Name | Description |
---|---|---|
Class<T> | rpdType | Type of associated render pass data. |
double | zeroLine | Data value which determines the zero line in Y direction, from which scaling will be performed. |
Methods
applyTransformationInternal(float currentDelta)
Applies transformation using ScaleTransformationBase#transformValues(float, FloatValues, FloatValues) method. FloatValues to be supplied from inheritors. First arg is values to transform. Second is to get original coordinates from.
Declaration
protected void applyTransformationInternal(float currentDelta)
Parameters
Type | Name | Description |
---|---|---|
float | currentDelta |
Overrides
discardTransformation()
Discards this transformation from associated series.
Declaration
protected void discardTransformation()
Overrides
onInternalRenderPassDataChanged()
Called when associated series render pass data changed during animation.
Declaration
protected void onInternalRenderPassDataChanged()
Overrides
prepareDataToTransformation()
Prepares associated render pass data to transformation.
Declaration
protected void prepareDataToTransformation()
Overrides
saveOriginalData()
Saves original data from render pass data, which supposed to be changed during #applyTransformation() call.
Declaration
protected void saveOriginalData()