PathTransformScale Method

Applies a scaling (zoom) to the current Transformation.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
C#
public Path TransformScale(
	float scaleX,
	float scaleY
)

Parameters

scaleX  Single
The scaling factor in the x-direction.
scaleY  Single
The scaling factor in the y-direction.

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