Struct Rectangle
- Namespace
- Iot.Device.CharacterLcd
- Assembly
- Iot.Device.CharacterLcd.dll
Represents a rectangle with all the required attributes.
public struct Rectangle
Constructors
Rectangle(int, int, int, int)
Initializes a new instance of Rectangle
public Rectangle(int x, int y, int width, int height)
Parameters
x
intThe x-coordinate of the instance
y
intThe y-coordinate of the instance
width
intThe width of the instance
height
intThe height of the instance
Fields
Empty
public static readonly Rectangle Empty
Field Value
Properties
Height
Gets or sets the height.
public readonly int Height { get; }
Property Value
Width
Gets or sets the width.
public readonly int Width { get; }
Property Value
X
Gets or sets the X-coordinate.
public readonly int X { get; }
Property Value
Y
Gets or sets the Y-coordinate.
public readonly int Y { get; }