[]
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock Create(Factory factory)
Public Shared Function Create(factory As Factory) As DrawingStateBlock
| Type | Name | Description |
|---|---|---|
| Factory | factory | an instance of Factory |
| Type | Description |
|---|---|
| DrawingStateBlock |
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock Create(Factory factory, DrawingStateDescription drawingStateDescription)
Public Shared Function Create(factory As Factory, drawingStateDescription As DrawingStateDescription) As DrawingStateBlock
| Type | Name | Description |
|---|---|---|
| Factory | factory | an instance of Factory |
| DrawingStateDescription | drawingStateDescription | A structure that contains antialiasing, transform, and tags information. |
| Type | Description |
|---|---|
| DrawingStateBlock |
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock Create(Factory factory, RenderingParams textRenderingParams)
Public Shared Function Create(factory As Factory, textRenderingParams As RenderingParams) As DrawingStateBlock
| Type | Name | Description |
|---|---|---|
| Factory | factory | an instance of Factory |
| RenderingParams | textRenderingParams | Optional text parameters that indicate how text should be rendered. |
| Type | Description |
|---|---|
| DrawingStateBlock |
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock Create(Factory factory, DrawingStateDescription? drawingStateDescription, RenderingParams textRenderingParams)
Public Shared Function Create(factory As Factory, drawingStateDescription As DrawingStateDescription?, textRenderingParams As RenderingParams) As DrawingStateBlock
| Type | Name | Description |
|---|---|---|
| Factory | factory | an instance of Factory |
| DrawingStateDescription? | drawingStateDescription | A structure that contains antialiasing, transform, and tags information. |
| RenderingParams | textRenderingParams | Optional text parameters that indicate how text should be rendered. |
| Type | Description |
|---|---|
| DrawingStateBlock |