Create(Factory,Nullable<DrawingStateDescription>,RenderingParams) Method
In This Topic
Creates an
DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
Syntax
'Declaration
Public Overloads Shared Function Create( _
ByVal As Factory, _
ByVal As System.Nullable(Of DrawingStateDescription), _
ByVal As RenderingParams _
) As DrawingStateBlock
public static DrawingStateBlock Create(
Factory ,
System.Nullable<DrawingStateDescription> ,
RenderingParams
)
Parameters
- factory
- an instance of Factory
- drawingStateDescription
- A structure that contains antialiasing, transform, and tags information.
- textRenderingParams
- Optional text parameters that indicate how text should be rendered.
See Also