Class BitmapLayer
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Data.dll
public sealed class BitmapLayer : Layer, IIsDisposed, IDisposable, ICloneable, IDeserializationCallback
- Inheritance
-
BitmapLayer
- Implements
- Inherited Members
Constructors
- BitmapLayer(Surface)
Creates a new BitmapLayer of the same size as the given Surface, and copies the pixels from the given Surface.
- BitmapLayer(Surface, bool)
Creates a new BitmapLayer of the same size as the given Surface, and either copies the pixels of the given Surface or takes ownership of it.
Properties
Methods
- SaveProperties()
Allows you to save the mutable properties of the layer so you can restore them later (esp. important for undo!). Mutable properties include the layer's name, whether it's visible, and the metadata. This list might expand later.