Struct ScreenConfiguration
- Namespace
- nanoFramework.UI
- Assembly
- nanoFramework.Graphics.dll
The screen configuration in the driver.
public struct ScreenConfiguration
- Inherited Members
Constructors
ScreenConfiguration(ushort, ushort, ushort, ushort, GraphicDriver)
Creates a screen configuration.
public ScreenConfiguration(ushort x, ushort y, ushort width, ushort height, GraphicDriver graphicDriver = null)
Parameters
x
ushortThe x position the screen starts in the driver.
y
ushortThe y position the screen starts in the driver.
width
ushortThe width of the screen starts in the driver.
height
ushortThe height of the screen starts in the driver.
graphicDriver
GraphicDriverThe driver to use.
Properties
GraphicDriver
Gets or sets the graphic driver.
public GraphicDriver GraphicDriver { get; set; }
Property Value
Height
Gets or sets the height of the screen starts in the driver.
public ushort Height { get; set; }
Property Value
Width
Gets or sets the width of the screen starts in the driver.
public ushort Width { get; set; }
Property Value
X
Gets or sets the x position the screen starts in the driver.
public ushort X { get; set; }
Property Value
Y
Gets or sets the y position the screen starts in the driver.
public ushort Y { get; set; }