Table of Contents

Interface IReadOnlyFileTypeLayer

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

Represents a read-only layer within a file type document.

public interface IReadOnlyFileTypeLayer : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Properties

BlendMode

Gets the blend mode of the layer.

Metadata

Gets the metadata that is stored in the layer. This is distinct from the document-level metadata.

Name

Gets the name of the layer.

Opacity

Gets the opacity of the layer. The range is [0, 1], where 0 is fully transparent (effectively invisible) and 1 is fully opaque. This value is used to modulate the alpha values for pixels in the layer.

PixelFormat

Gets the pixel format of the layer. This will always be the same as the containing document's pixel format.

Size

Gets the size, in pixels, of the layer.

Visible

Gets a flag indicating whether the layer is visible or not.

Methods

GetBitmap()

Gets a bitmap source that renders the layer.