Class DrawingStateBlock
[Guid("28506e39-ebf6-46a1-bb47-fd85565ab957")]
public class DrawingStateBlock : Resource
- Inheritance
-
DrawingStateBlock
- Derived
- Inherited Members
Constructors
DrawingStateBlock(Factory)
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public DrawingStateBlock(Factory factory)
Parameters
DrawingStateBlock(Factory, DrawingStateDescription)
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public DrawingStateBlock(Factory factory, DrawingStateDescription drawingStateDescription)
Parameters
factory
Factoryan instance of Factory
drawingStateDescription
DrawingStateDescriptionA structure that contains antialiasing, transform, and tags information.
DrawingStateBlock(Factory, RenderingParams)
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public DrawingStateBlock(Factory factory, RenderingParams textRenderingParams)
Parameters
factory
Factoryan instance of Factory
textRenderingParams
RenderingParamsOptional text parameters that indicate how text should be rendered.
DrawingStateBlock(Factory, DrawingStateDescription?, RenderingParams)
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public DrawingStateBlock(Factory factory, DrawingStateDescription? drawingStateDescription, RenderingParams textRenderingParams)
Parameters
factory
Factoryan instance of Factory
drawingStateDescription
DrawingStateDescription?A structure that contains antialiasing, transform, and tags information.
textRenderingParams
RenderingParamsOptional text parameters that indicate how text should be rendered.
DrawingStateBlock(nint)
public DrawingStateBlock(nint nativePtr)
Parameters
nativePtr
nint
Properties
Description
Retrieves or sets the antialiasing mode, transform, and tags portion of the drawing state.
public DrawingStateDescription Description { get; set; }
Property Value
TextRenderingParams
Retrieves or sets the text-rendering configuration of the drawing state.
public RenderingParams TextRenderingParams { get; set; }
Property Value
Operators
explicit operator DrawingStateBlock(nint)
public static explicit operator DrawingStateBlock(nint nativePtr)
Parameters
nativePtr
nint