PathTransformTranslation(Vector2) 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(
	Vector2 offset
)

Parameters

offset  Vector2
The offset 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