Table of Contents

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 int

The x-coordinate of the instance

y int

The y-coordinate of the instance

width int

The width of the instance

height int

The height of the instance

Fields

Empty

An empty representation of a Rectangle with X, Y, Width, and Height set to zero.

public static readonly Rectangle Empty

Field Value

Rectangle

Properties

Height

Gets or sets the height.

public readonly int Height { get; }

Property Value

int

Width

Gets or sets the width.

public readonly int Width { get; }

Property Value

int

X

Gets or sets the X-coordinate.

public readonly int X { get; }

Property Value

int

Y

Gets or sets the Y-coordinate.

public readonly int Y { get; }

Property Value

int