[]
Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock Create(Factory factory)
| 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)
| 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)
| 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)
| 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 |