This documentation is for the old version. Go to the latest Graphics Mill docs

PointF.scale Method

Scales a point to the specified values.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function scale(scaleX, scaleY);

Parameters

scaleX

Type: Global.Number

The scale factor in the x-direction.
scaleY

Type: Global.Number

The scale factor in the y-direction.

Return Value

The PointF value which represents a scaled point.

Remarks

This method corresponds to PointF.Scale(Single, Single) server-side member.

See Also

Reference