Table of Contents

Method Scale

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

Scale(double, double)

Returns a new quadrilateral scaled by the specified factors relative to the origin (0,0).

public Quadrilateral Scale(double sx, double sy)

Parameters

sx double

The factor to scale along the X-axis.

sy double

The factor to scale along the Y-axis.

Returns

Quadrilateral

A new Quadrilateral with each corner scaled by the given factors.

Remarks

Negative scales can flip the winding. Call Normalize() to reorder corners.