btb-class

Painter.OffsetRectangle Method

Offset rectangle by the specified amount.

public static Rectangle OffsetRectangle(
   Rectangle rectangle,
   Point offset
);

Parameters

rectangle
rectangle to offset
offset
amount of shift

Return Value

adjusted rectangle

See Also

Painter Class | ComponentOwl.BetterThumbnailBrowser Namespace