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