Offset()
Contents
[
Hide
]RectangleF::Offset(const PointF&) method
Offsets the position of the rectangle represented by the current object by the specified amounts.
void System::Drawing::RectangleF::Offset(const PointF &pos)
Arguments
Parameter | Type | Description |
---|---|---|
pos | const PointF& | The PointF object that specifies the amount by which the rectangle is offset; the point’s X coordinat value specifies the amount to add to the X coordinate of the upper left corner of the rectangle and the point’s Y coordinate specifies the amount to add to the Y coordinate of the upper left corner of the rectangle |
RectangleF::Offset(float, float) method
Offsets the position of the rectangle represented by the current object by the specified amounts.
void System::Drawing::RectangleF::Offset(float x, float y)
Arguments
Parameter | Type | Description |
---|---|---|
x | float | The value to add to the current X coordinate of the rectangle |
y | float | The value to add to the current Y coordinate of the rectangle |
See Also
- Class PointF
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.Slides