You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

PointF.translate Method

Applies to: Graphics Mill Web Controls · Archived documentation

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