Table of Contents

Method Cast

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.Core.dll

Cast(IBitmapSource, in PixelFormat)

public static IBitmapSource Cast(this IBitmapSource source, in PixelFormat format)

Parameters

source IBitmapSource
format PixelFormat

Returns

IBitmapSource

Cast<TPixel>(IBitmapSource)

public static IBitmapSource<TPixel> Cast<TPixel>(this IBitmapSource source) where TPixel : unmanaged, INaturalPixelInfo

Parameters

source IBitmapSource

Returns

IBitmapSource<TPixel>

Type Parameters

TPixel