Table of Contents

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

CompositeOperation

Groups

The groups (stacks) that the layer belongs to.

public IList<Group> Groups { get; set; }

Property Value

IList<Group>

Name

The name of the layer.

public required string Name { get; set; }

Property Value

string

Opacity

The opacity of the layer (0.0 = fully transparent, 1.0 = fully opaque).

public float Opacity { get; set; }

Property Value

float

Source

The source path or identifier of the layer's image data within the OpenRaster file.

public required string Source { get; set; }

Property Value

string

Visible

Whether the layer is visible.

public bool Visible { get; set; }

Property Value

bool

X

The X position of the layer relative to the canvas.

public int X { get; set; }

Property Value

int

Y

The Y position of the layer relative to the canvas.

public int Y { get; set; }

Property Value

int