SvgPlottingUtilApplyTranslation Method

Apply the translation to the collection of points.

Definition

Namespace: SvgPlotting
Assembly: SvgPlotting (in SvgPlotting.dll) Version: 25.2714.4126
C#
public static void ApplyTranslation(
	PlotPointCollection points,
	float translationX,
	float translationY
)

Parameters

points  PlotPointCollection
Reference to a collection of points to be translated.
translationX  Single
The X-axis translation to apply.
translationY  Single
The Y-axis translation to apply.

Remarks

In this version, it is assumed that all points are already converted to absolute values.

See Also