Method GetCompositeBitmap
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
GetCompositeBitmap<TPixel>(IReadOnlyFileTypeDocument)
Gets a bitmap source that renders the flattened (composite) image of all visible layers.
public static IFileTypeCompositeBitmap<TPixel> GetCompositeBitmap<TPixel>(this IReadOnlyFileTypeDocument document) where TPixel : unmanaged, INaturalPixelInfo
Parameters
documentIReadOnlyFileTypeDocument
Returns
- IFileTypeCompositeBitmap<TPixel>
Type Parameters
TPixel