Table of Contents

Struct Size

Namespace
Iot.Device.CharacterLcd
Assembly
Iot.Device.CharacterLcd.dll

Stores an ordered pair of integers, which specify a height and width.

public struct Size

Remarks

This struct is fully mutable. This is done (against the guidelines) for the sake of performance, as it avoids the need to create new values for modification operations.

Constructors

Size(int, int)

Initializes a new instance of the Size struct.

public Size(int width, int height)

Parameters

width int

The width of the size.

height int

The height of the size.

Properties

Height

Gets or sets the height of this Size.

public int Height { readonly get; set; }

Property Value

int

Width

Gets or sets the width of this Size.

public int Width { readonly get; set; }

Property Value

int