Method CreateAliasedGdipBitmap
- Namespace
- PaintDotNet.Drawing
- Assembly
- PaintDotNet.Core.dll
CreateAliasedGdipBitmap(ISurface<ColorBgra>)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorBgra> surface)
Parameters
surface
ISurface<ColorBgra>
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorBgra>, BitmapAlphaMode)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorBgra> surface, BitmapAlphaMode alphaMode)
Parameters
surface
ISurface<ColorBgra>
alphaMode
BitmapAlphaMode
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorBgra>, RectInt32, BitmapAlphaMode)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorBgra> surface, RectInt32 bounds, BitmapAlphaMode alphaMode)
Parameters
surface
ISurface<ColorBgra>
bounds
RectInt32
alphaMode
BitmapAlphaMode
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorBgra32>)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorBgra32> surface)
Parameters
surface
ISurface<ColorBgra32>
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorBgra32>, BitmapAlphaMode)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorBgra32> surface, BitmapAlphaMode alphaMode)
Parameters
surface
ISurface<ColorBgra32>
alphaMode
BitmapAlphaMode
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorBgra32>, RectInt32, BitmapAlphaMode)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorBgra32> surface, RectInt32 bounds, BitmapAlphaMode alphaMode)
Parameters
surface
ISurface<ColorBgra32>
bounds
RectInt32
alphaMode
BitmapAlphaMode
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorPbgra32>)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorPbgra32> surface)
Parameters
surface
ISurface<ColorPbgra32>
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorPbgra32>, BitmapAlphaMode)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorPbgra32> surface, BitmapAlphaMode alphaMode)
Parameters
surface
ISurface<ColorPbgra32>
alphaMode
BitmapAlphaMode
Returns
- Bitmap
CreateAliasedGdipBitmap(ISurface<ColorPbgra32>, RectInt32, BitmapAlphaMode)
public static Bitmap CreateAliasedGdipBitmap(this ISurface<ColorPbgra32> surface, RectInt32 bounds, BitmapAlphaMode alphaMode)
Parameters
surface
ISurface<ColorPbgra32>
bounds
RectInt32
alphaMode
BitmapAlphaMode
Returns
- Bitmap