ShopToolsUtilOffsetArea Method
Return a rectangle whose area has been offset by the specified amount
from the source.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static Rectangle OffsetArea(
Rectangle source,
int offsetX,
int offsetY
)
Public Shared Function OffsetArea (
source As Rectangle,
offsetX As Integer,
offsetY As Integer
) As Rectangle
No code example is currently available or this language may not be supported.
- 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.
Rectangle
New rectangle that has been offset by the specified horizontal and
vertical amounts from the source.