[]
Initializes a new instance of the ObjectRect class.
public ObjectRect()
Public Sub New()
Initializes a new instance of the ObjectRect class from another instance of ObjectRect.
public ObjectRect(ObjectRect source)
Public Sub New(source As ObjectRect)
Type | Name | Description |
---|---|---|
ObjectRect | source |
Initializes a new instance of the ObjectRect class from a RectangleF.
public ObjectRect(RectangleF rc)
Public Sub New(rc As RectangleF)
Type | Name | Description |
---|---|---|
RectangleF | rc | The rectangle used to initialize the new ObjectRect. |
Initializes a new instance of the ObjectRect class with the specified location and size.
public ObjectRect(PointF pt, SizeF sz)
Public Sub New(pt As PointF, sz As SizeF)
Type | Name | Description |
---|---|---|
PointF | pt | A PointF that represents the upper-left corner of the rectangle. |
SizeF | sz | A SizeF that represents the size of the rectangle. |
Initializes a new instance of the ObjectRect class with the specified coordinates and size.
public ObjectRect(float x, float y, float width, float height)
Public Sub New(x As Single, y As Single, width As Single, height As Single)