Method CreateBitmapBrush
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
CreateBitmapBrush(IDeviceContext, IDeviceBitmap, ExtendMode, ExtendMode, InterpolationMode, float, in Matrix3x2Float?)
public static IBitmapBrush CreateBitmapBrush(this IDeviceContext deviceContext, IDeviceBitmap bitmap, ExtendMode extendModeX = ExtendMode.Clamp, ExtendMode extendModeY = ExtendMode.Clamp, InterpolationMode interpolationMode = InterpolationMode.Linear, float opacity = 1, in Matrix3x2Float? transform = null)
Parameters
deviceContext
IDeviceContextbitmap
IDeviceBitmapextendModeX
ExtendModeextendModeY
ExtendModeinterpolationMode
InterpolationModeopacity
floattransform
Matrix3x2Float?