Table of Contents

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 IDeviceContext
contentBounds RectFloat?
geometricMask IGeometry
maskAntialiasMode AntialiasMode
maskTransform Matrix3x2Float?
opacity float
opacityBrush IDeviceBrush
layerOptions LayerOptions
layer IDeviceLayer