Newer
Older
brewdente
committed
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
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.LayerTree
{
/// <summary>
/// Information about a compositing layer.
/// </summary>
public class Layer
{
/// <summary>
/// Gets or sets The unique id for this layer.
/// </summary>
public string LayerId { get; set; }
/// <summary>
/// Gets or sets The id of parent (not present for root).
/// </summary>
public string ParentLayerId { get; set; }
/// <summary>
/// Gets or sets The backend id for the node associated with this layer.
/// </summary>
public long BackendNodeId { get; set; }
/// <summary>
/// Gets or sets Offset from parent layer, X coordinate.
/// </summary>
public double OffsetX { get; set; }
/// <summary>
/// Gets or sets Offset from parent layer, Y coordinate.
/// </summary>
public double OffsetY { get; set; }
/// <summary>
/// Gets or sets Layer width.
/// </summary>
public double Width { get; set; }
/// <summary>
/// Gets or sets Layer height.
/// </summary>
public double Height { get; set; }
/// <summary>
/// Gets or sets Transformation matrix for layer, default is identity matrix
/// </summary>
public double[] Transform { get; set; }
/// <summary>
/// Gets or sets Transform anchor point X, absent if no transform specified
/// </summary>
public double AnchorX { get; set; }
/// <summary>
/// Gets or sets Transform anchor point Y, absent if no transform specified
/// </summary>
public double AnchorY { get; set; }
/// <summary>
/// Gets or sets Transform anchor point Z, absent if no transform specified
/// </summary>
public double AnchorZ { get; set; }
/// <summary>
/// Gets or sets Indicates how many time this layer has painted.
/// </summary>
public long PaintCount { get; set; }
/// <summary>
/// Gets or sets Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
/// </summary>
public bool DrawsContent { get; set; }
/// <summary>
/// Gets or sets Set if layer is not visible.
/// </summary>
public bool Invisible { get; set; }
/// <summary>
/// Gets or sets Rectangles scrolling on main thread only.
/// </summary>
public ScrollRect[] ScrollRects { get; set; }
}
}