Summary
Represents a layer in a
Scene
.
- Namespace
- Avalonia
.Rendering .SceneGraph - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["SceneLayer"]
class Type type-node
Syntax
public class SceneLayer
Constructors
Name | Summary |
---|---|
SceneLayer |
Initializes a new instance of the SceneLayer class.
|
Properties
Name | Value | Summary |
---|---|---|
DistanceFromRoot | int |
Gets the distance of the layer root from the root of the scene.
|
GeometryClip | IGeometryImpl |
Gets the layer's geometry clip.
|
LayerRoot | IVisual |
Gets the visual at the root of the layer.
|
Opacity | double |
Gets or sets the opacity of the layer.
|
OpacityMask | IBrush |
Gets or sets the opacity mask for the layer.
|
OpacityMaskRect | Rect |
Gets or sets the target rectangle for the layer opacity mask.
|
Methods
Name | Value | Summary |
---|---|---|
Clone |
SceneLayer |
Clones the layer.
|