Table of Contents

Method Translate

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

Translate(double, double)

Returns a new rectangle translated (moved) by the specified offsets along the X and Y axes.

public Rectangle Translate(double x, double y)

Parameters

x double

The horizontal distance to shift.

y double

The vertical distance to shift.

Returns

Rectangle

A new Rectangle offset by the given translation values.