System::Drawing::RectangleF::RectangleF constructor
Contents
[
Hide
]RectangleF::RectangleF() constructor
Constructs a new instance of RectangleF object that represents a rectangle with X and Y coordinates and width and hegiht values set to 0.
System::Drawing::RectangleF::RectangleF()
See Also
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.PDF for C++
RectangleF::RectangleF(const PointF&, const SizeF&) constructor
Constructs a new instance of RectangleF object that represents a rectangle with the coordinates of its upper left corner specified as an instance of PointF class and its width and height as an instance of SizeF class.
System::Drawing::RectangleF::RectangleF(const PointF &location, const SizeF &size)
Parameter | Type | Description |
---|---|---|
location | const PointF& | Specifies the location of the upper left corner of the rectangle |
size | const SizeF& | Specifies the width and hegiht of the rectangle |
See Also
- Class PointF
- Class SizeF
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.PDF for C++
RectangleF::RectangleF(const Rectangle&) constructor
Constructs a new instance of RectangleF object that represents the rectangle equivalent to the specified one.
System::Drawing::RectangleF::RectangleF(const Rectangle &rect)
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | An instance of Rectangle class that specifies the position and size of the rectangle to be represented by the object being constructed |
See Also
- Class Rectangle
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.PDF for C++
RectangleF::RectangleF(float, float, float, float) constructor
Constructs a new instance of RectangleF object that represents a rectangle with the specified coordinates of its upper left corner and width and height.
System::Drawing::RectangleF::RectangleF(float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
x | float | A value of the X coordinate of the upper left corner of the rectangle |
y | float | A value of the Y coordinate of the upper left corner of the rectangle |
width | float | The width of the rectangle |
height | float | The height of the rectangle |
See Also
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.PDF for C++