Method WithOffset
WithOffset(double, double)
Offsets the location of given rectangle by the specified offset.
public readonly RectD WithOffset(double offsetX, double 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
offset
SizeDHorizontal and vertical offset.
Returns
- RectD
Rectangle object with new location.