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 by dividing by a scalar.

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

Parameters

r Rectangle

The rectangle to scale.

scalar double

The scalar divisor.

Returns

Rectangle

A new Rectangle uniformly scaled by 1 / scalar.

Exceptions

DivideByZeroException

Thrown when scalar is zero.