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

PointF.translate Method

Translates a point to the specified offset.

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

Syntax

Java Script
function translate(x, y);

Parameters

x

Type: Global.Number

The offset in the x-direction.
y

Type: Global.Number

The offset in the y-direction.

Return Value

The PointF value which represents a translated point.

Remarks

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

See Also

Reference