ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRectangle Structure / ImGearRectangle Constructor / ImGearRectangle Constructor(Int32,Int32,Int32,Int32)
X-coordinate of the upper-left corner of a rectangle.
Y-coordinate of the upper-left corner of a rectangle.
Width of a rectangle.
Height of a rectangle.




In This Topic
ImGearRectangle Constructor(Int32,Int32,Int32,Int32)
In This Topic
Initializes a new instance of the ImGearRectangle struct.
Syntax
'Declaration
 
Public Function New( _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
)
 
'Usage
 
Dim left As Integer
Dim top As Integer
Dim width As Integer
Dim height As Integer
 
Dim instance As New ImGearRectangle(left, top, width, height)

Parameters

left
X-coordinate of the upper-left corner of a rectangle.
top
Y-coordinate of the upper-left corner of a rectangle.
width
Width of a rectangle.
height
Height of a rectangle.
See Also