Method CreateDrawingStateBlock
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
CreateDrawingStateBlock(in DrawingStateDescription?, ITextRenderingParameters?)
Creates an IDrawingStateBlock that can be used with the SaveDrawingState(IDrawingStateBlock) and RestoreDrawingState(IDrawingStateBlock) methods.
IDrawingStateBlock CreateDrawingStateBlock(in DrawingStateDescription? drawingStateDescription = null, ITextRenderingParameters? textRenderingParameters = null)
Parameters
drawingStateDescription
DrawingStateDescription?textRenderingParameters
ITextRenderingParameters