Method PushLayer
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
PushLayer(IDeviceContext, in RectFloat?, IGeometry?, AntialiasMode, in Matrix3x2Float?, float, IDeviceBrush?, LayerOptions, IDeviceLayer?)
public static void PushLayer(this IDeviceContext deviceContext, in RectFloat? contentBounds = null, IGeometry? geometricMask = null, AntialiasMode maskAntialiasMode = AntialiasMode.PerPrimitive, in Matrix3x2Float? maskTransform = null, float opacity = 1, IDeviceBrush? opacityBrush = null, LayerOptions layerOptions = LayerOptions.None, IDeviceLayer? layer = null)
Parameters
deviceContext
IDeviceContextcontentBounds
RectFloat?geometricMask
IGeometrymaskAntialiasMode
AntialiasModemaskTransform
Matrix3x2Float?opacity
floatopacityBrush
IDeviceBrushlayerOptions
LayerOptionslayer
IDeviceLayer