-
-
Notifications
You must be signed in to change notification settings - Fork 484
Expand file tree
/
Copy pathScreenInfo.cs
More file actions
88 lines (73 loc) · 2.41 KB
/
ScreenInfo.cs
File metadata and controls
88 lines (73 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
namespace PuppeteerSharp
{
/// <summary>
/// Contains information about a screen.
/// </summary>
public class ScreenInfo
{
/// <summary>
/// Gets or sets the left position of the screen.
/// </summary>
public int Left { get; set; }
/// <summary>
/// Gets or sets the top position of the screen.
/// </summary>
public int Top { get; set; }
/// <summary>
/// Gets or sets the width of the screen.
/// </summary>
public int Width { get; set; }
/// <summary>
/// Gets or sets the height of the screen.
/// </summary>
public int Height { get; set; }
/// <summary>
/// Gets or sets the available left position.
/// </summary>
public int AvailLeft { get; set; }
/// <summary>
/// Gets or sets the available top position.
/// </summary>
public int AvailTop { get; set; }
/// <summary>
/// Gets or sets the available width.
/// </summary>
public int AvailWidth { get; set; }
/// <summary>
/// Gets or sets the available height.
/// </summary>
public int AvailHeight { get; set; }
/// <summary>
/// Gets or sets the device pixel ratio.
/// </summary>
public double DevicePixelRatio { get; set; }
/// <summary>
/// Gets or sets the color depth.
/// </summary>
public int ColorDepth { get; set; }
/// <summary>
/// Gets or sets the screen orientation.
/// </summary>
public ScreenOrientationInfo Orientation { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the screen is extended.
/// </summary>
public bool IsExtended { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the screen is internal.
/// </summary>
public bool IsInternal { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the screen is the primary screen.
/// </summary>
public bool IsPrimary { get; set; }
/// <summary>
/// Gets or sets the screen label.
/// </summary>
public string Label { get; set; }
/// <summary>
/// Gets or sets the screen ID.
/// </summary>
public string Id { get; set; }
}
}