Wiki

Clone wiki

RogueSharp / RogueSharp / Rectangle / Offset

RectangleOffset Method (Point)

Changes the position of the Rectangles by the values of the specified Point

Namespace: RogueSharp
Assembly:

Syntax

public void Offset(
    Point offsetPoint
)

Parameters

offsetPoint

Type: RogueSharpPoint
The values to adjust the position of the Rectangle by

Exceptions

Exception Condition
ArgumentNullException Thrown if offset is null

See Also

Reference

Rectangle Class
RogueSharp Namespace

[4]: 2014-2016 Faron Bracy

Updated