Skip to main content

Rectangle Struct

Namespace: System.Drawing · Assembly: GHIElectronics.TinyCLR.Drawing

An integer rectangle defined by upper-left corner (X,Y) and size (Width,Height).

public struct Rectangle

Constructors

Rectangle(int x, int y, int width, int height)

public Rectangle(int x, int y, int width, int height)

No description available.

ParameterTypeDescription
xint
yint
widthint
heightint

Properties

X

public int X { get; set; }

Sets the x axis position. It must be between –32,768 to +32,767. (inherited)

Y

public int Y { get; set; }

Sets the y axis position. It must be between –32,768 to +32,767. (inherited)

Width

public int Width { get; set; }

Column width in pixels. (inherited)

Height

public int Height { get; set; }

Frame height in pixels. (inherited)