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.scale Method

Applies to: Graphics Mill Web Controls · Archived documentation

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