
## GraphicContext class

Holds current graphics control parameters.
These parameters define the global framework within which the graphics operators execute.



The GraphicContext type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/html/python-net/aspose.html.rendering/graphiccontext/__init__/#) | Initializes a new instance of the [`GraphicContext`](/html/python-net/aspose.html.rendering/graphiccontext) class. |


### Properties
| Property | Description |
| :- | :- |
| [current_element](/html/python-net/aspose.html.rendering/graphiccontext/current_element) | Gets current processed element. |
| [line_cap](/html/python-net/aspose.html.rendering/graphiccontext/line_cap) | Sets or gets the code specifying the shape of the endpoints for any open path that is stroked. |
| [line_dash_offset](/html/python-net/aspose.html.rendering/graphiccontext/line_dash_offset) | Sets or gets the phase offset of the current line dash pattern. |
| [line_dash_pattern](/html/python-net/aspose.html.rendering/graphiccontext/line_dash_pattern) | Sets or gets the description of the dash pattern to be used when paths are stroked.<br/>Can be set to null or an empty array to be disabled. |
| [line_join](/html/python-net/aspose.html.rendering/graphiccontext/line_join) | Sets or gets the code specifying the shape of joints between connected segments of a stroked path. |
| [line_width](/html/python-net/aspose.html.rendering/graphiccontext/line_width) | Sets or gets the thickness of paths to be stroked. |
| [miter_limit](/html/python-net/aspose.html.rendering/graphiccontext/miter_limit) | Sets or gets the maximum length of mitered line joins for stroked paths. <br/>This parameter limits the length of "spikes" produced when line segments join at sharp angles. |
| [fill_brush](/html/python-net/aspose.html.rendering/graphiccontext/fill_brush) | Sets or gets the brush object that is used to fill the interiors of paths. |
| [stroke_brush](/html/python-net/aspose.html.rendering/graphiccontext/stroke_brush) | Sets or gets the brush object that is used for stroked paths. |
| [font](/html/python-net/aspose.html.rendering/graphiccontext/font) | Sets or gets the true type font object that is used for rendering text. |
| [font_size](/html/python-net/aspose.html.rendering/graphiccontext/font_size) | Sets or gets text font size. |
| [font_style](/html/python-net/aspose.html.rendering/graphiccontext/font_style) | Sets or gets text font style. |
| [character_spacing](/html/python-net/aspose.html.rendering/graphiccontext/character_spacing) | Sets or gets character spacing. |
| [transformation_matrix](/html/python-net/aspose.html.rendering/graphiccontext/transformation_matrix) | Sets or gets transformation matrix. |
| [text_info](/html/python-net/aspose.html.rendering/graphiccontext/text_info) | Gets a [`TextInfo`](/html/python-net/aspose.html.rendering/textinfo) object which contains information about rendered text. |


### Methods
| Method | Description |
| :- | :- |
| [transform](/html/python-net/aspose.html.rendering/graphiccontext/transform/#aspose.html.drawing.IMatrix) | Modify the current transformation matrix by multiplying the specified matrix. |
| [clone](/html/python-net/aspose.html.rendering/graphiccontext/clone/#) | Creates a new instance of a GraphicContext class with the same property values as an existing instance. |



### See Also
* module [`aspose.html.rendering`](..)
* class [`GraphicContext`](/html/python-net/aspose.html.rendering/graphiccontext)
* class [`TextInfo`](/html/python-net/aspose.html.rendering/textinfo)
