Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the Rectangle class with specified height and width.
Namespace: Microsoft.SPOT.Presentation.Shapes
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
width As Integer, _
height As Integer _
)
public Rectangle(
int width,
int height
)
public:
Rectangle(
int width,
int height
)
new :
width:int *
height:int -> Rectangle
public function Rectangle(
width : int,
height : int
)
Parameters
- width
Type: System. . :: . .Int32
The width of the rectangle.
- height
Type: System. . :: . .Int32
The height of the rectangle.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.