Table of Contents

Operator operator *

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

operator *(Rectangle, double)

Uniformly scales a rectangle relative to the origin.

public static Rectangle operator *(Rectangle r, double scalar)

Parameters

r Rectangle

The rectangle to scale.

scalar double

The scalar multiplier.

Returns

Rectangle

A new Rectangle uniformly scaled by scalar.

operator *(double, Rectangle)

Uniformly scales a rectangle relative to the origin.

public static Rectangle operator *(double scalar, Rectangle r)

Parameters

scalar double

The scalar multiplier.

r Rectangle

The rectangle to scale.

Returns

Rectangle

A new Rectangle uniformly scaled by scalar.