Method WithOffset
WithOffset(float, float)
Offsets the location of given rectangle by the specified offset.
public readonly RectD WithOffset(float offsetX, float offsetY)
Parameters
Returns
- RectD
Rectangle object with new location.
WithOffset(SizeD)
Offsets the location of given rectangle by the specified offset.
public readonly RectD WithOffset(SizeD offset)
Parameters
offsetSizeDHorizontal and vertical offset.
Returns
- RectD
Rectangle object with new location.