Table of Contents

Method Scale

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Scale(double, double)

Returns a new point scaled by the specified factors along the X and Y axes.

public Point Scale(double scaleX, double scaleY)

Parameters

scaleX double

The factor to scale along the X-axis.

scaleY double

The factor to scale along the Y-axis.

Returns

Point

A new Point with coordinates scaled by the given factors.

Scale(double)

Returns a new point uniformly scaled by a single factor.

public Point Scale(double s)

Parameters

s double

The uniform scale factor.

Returns

Point

A new Point uniformly scaled by s.

Scale(IPoint)

Returns a new point scaled by the given vector of factors.

public Point Scale(IPoint scale)

Parameters

scale IPoint

The scale factors as an IPoint.

Returns

Point

A new Point scaled by scale.