Class Layer
- Namespace
- Olve.OpenRaster
- Assembly
- Olve.OpenRaster.dll
Represents a layer in an Open Raster file. See Open Raster Layer Element.
public class Layer
- Inheritance
-
Layer
- Inherited Members
Properties
CompositeOperation
The compositing operation that determines how the layer blends with layers beneath it.
public CompositeOperation CompositeOperation { get; set; }
Property Value
Groups
The groups (stacks) that the layer belongs to.
public IList<Group> Groups { get; set; }
Property Value
Name
The name of the layer.
public required string Name { get; set; }
Property Value
Opacity
The opacity of the layer (0.0 = fully transparent, 1.0 = fully opaque).
public float Opacity { get; set; }
Property Value
Source
The source path or identifier of the layer's image data within the OpenRaster file.
public required string Source { get; set; }
Property Value
Visible
Whether the layer is visible.
public bool Visible { get; set; }
Property Value
X
The X position of the layer relative to the canvas.
public int X { get; set; }
Property Value
Y
The Y position of the layer relative to the canvas.
public int Y { get; set; }