Layer Properties |
The Layer type exposes the following members.
| Name | Description | |
|---|---|---|
| AnchorX | Transform anchor point X, absent if no transform specified | |
| AnchorY | Transform anchor point Y, absent if no transform specified | |
| AnchorZ | Transform anchor point Z, absent if no transform specified | |
| BackendNodeId | The backend id for the node associated with this layer. | |
| DrawsContent | Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only. | |
| Height | Layer height. | |
| Invisible | Set if layer is not visible. | |
| LayerId | The unique id for this layer. | |
| OffsetX | Offset from parent layer, X coordinate. | |
| OffsetY | Offset from parent layer, Y coordinate. | |
| PaintCount | Indicates how many time this layer has painted. | |
| ParentLayerId | The id of parent (not present for root). | |
| ScrollRects | Rectangles scrolling on main thread only. | |
| StickyPositionConstraint | Sticky position constraint information | |
| Transform | Transformation matrix for layer, default is identity matrix | |
| Width | Layer width. |