Click or drag to resize

Layer Properties

Version 86.0.240

The Layer type exposes the following members.

Properties
  NameDescription
Public propertyAnchorX
Transform anchor point X, absent if no transform specified
Public propertyAnchorY
Transform anchor point Y, absent if no transform specified
Public propertyAnchorZ
Transform anchor point Z, absent if no transform specified
Public propertyBackendNodeId
The backend id for the node associated with this layer.
Public propertyDrawsContent
Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
Public propertyHeight
Layer height.
Public propertyInvisible
Set if layer is not visible.
Public propertyLayerId
The unique id for this layer.
Public propertyOffsetX
Offset from parent layer, X coordinate.
Public propertyOffsetY
Offset from parent layer, Y coordinate.
Public propertyPaintCount
Indicates how many time this layer has painted.
Public propertyParentLayerId
The id of parent (not present for root).
Public propertyScrollRects
Rectangles scrolling on main thread only.
Public propertyStickyPositionConstraint
Sticky position constraint information
Public propertyTransform
Transformation matrix for layer, default is identity matrix
Public propertyWidth
Layer width.
Top
See Also