PathTransformTranslation(Single, Single) Method

Applies a translation (offset) to the origin of the current Transformation.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public Path TransformTranslation(
	float offsetX,
	float offsetY
)

Parameters

offsetX  Single
The x-coordinate of the translation.
offsetY  Single
The y-coordinate of the translation.

Return Value

Path
This Path instance.

Remarks

This method affects the items that are added after calling this method only. To transform the already added items use the TransformAdded method instead.

See Also