Wiki

Clone wiki

RogueSharp / RogueSharp / Rectangle / Offset_1

RectangleOffset Method (Int32, Int32)

Changes the position of the Rectangle by the specified x and y offsets

Namespace: RogueSharp
Assembly:

Syntax

public void Offset(
    int offsetX,
    int offsetY
)

Parameters

offsetX

Type: SystemInt32
Change in the x-position

offsetY

Type: SystemInt32
Change in the y-position

See Also

Reference

Rectangle Class
RogueSharp Namespace

[3]: 2014-2016 Faron Bracy

Updated