Table of Contents

Operator operator -

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

operator -(Rectangle, Point)

Translates a rectangle by the negation of a point offset.

public static Rectangle operator -(Rectangle r, Point p)

Parameters

r Rectangle

The rectangle to translate.

p Point

The offset as a point (X = dx, Y = dy).

Returns

Rectangle

A new Rectangle translated by (-X, -Y) of p.