ShopToolsUtilOffsetArea Method

Return a rectangle whose area has been offset by the specified amount from the source.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static Rectangle OffsetArea(
	Rectangle source,
	int offsetX,
	int offsetY
)

Parameters

source  Rectangle
The source rectangle to reference.
offsetX  Int32
The horizontal amount by which to offset the new area from the source.
offsetY  Int32
The vertical amount by which to offset the new area from the source.

Return Value

Rectangle
New rectangle that has been offset by the specified horizontal and vertical amounts from the source.

See Also