ComponentOne Xamarin.Android
C1Rect Constructor(Double,Double,Double,Double)


C1.Android.Core Assembly > C1.Android.Core Namespace > C1Rect Structure > C1Rect Constructor : C1Rect Constructor(Double,Double,Double,Double)
The x-coordinate of the top-left corner of the rectangle.
The y-coordinate of the top-left corner of the rectangle.
The width of the rectangle.
The height of the rectangle.
Initializes a C1Rect structure that has the specified x-coordinate, y-coordinate, width, and height.
Syntax
'Declaration
 
Public Function New( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal width As Double, _
   ByVal height As Double _
)
'Usage
 
Dim x As Double
Dim y As Double
Dim width As Double
Dim height As Double
 
Dim instance As New C1Rect(x, y, width, height)
public C1Rect( 
   double x,
   double y,
   double width,
   double height
)

Parameters

x
The x-coordinate of the top-left corner of the rectangle.
y
The y-coordinate of the top-left corner of the rectangle.
width
The width of the rectangle.
height
The height of the rectangle.
See Also

Reference

C1Rect Structure
C1Rect Members
Overload List