Initializes a new instance of the
RectangleEx class with the specified location and size.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New( _
ByVal x As System.Single, _
ByVal y As System.Single, _
ByVal width As System.Single, _
ByVal height As System.Single _
) |
C# | |
---|
public RectangleFEx(
System.float x,
System.float y,
System.float width,
System.float height
) |
Parameters
- x
- The x-coordinate of the upper-left corner of the rectangle.
- y
- The y-coordinate of the upper-left corner of the rectangle.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
See Also