
## ICanvasDrawingStyles class

The ICanvasDrawingStyles interface provides methods and properties control how lines are drawn and how text is laid out.



The ICanvasDrawingStyles type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [line_width](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/line_width) | Width of lines. Default 1.0 |
| [line_cap](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/line_cap) | Type of endings on the end of lines. Possible values: butt (default), round, square. |
| [line_join](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/line_join) | Defines the type of corners where two lines meet. Possible values: round, bevel, miter (default). |
| [miter_limit](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/miter_limit) | Miter limit ratio. Default 10. |
| [line_dash_offset](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/line_dash_offset) | Specifies where to start a dash array on a line. |
| [font](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/font) | Font setting. Default value 10px sans-serif |
| [text_align](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/text_align) | Text alignment setting. Possible values: start (default), end, left, right or center. |
| [text_baseline](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/text_baseline) | Baseline alignment setting. Possible values: top, hanging, middle, alphabetic (default), ideographic, bottom. |


### Methods
| Method | Description |
| :- | :- |
| [set_line_dash](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/set_line_dash/#list) | Sets the current line dash pattern. |
| [get_line_dash](/html/python-net/aspose.html.dom.canvas/icanvasdrawingstyles/get_line_dash/#) | Returns the current line dash pattern array containing an even number of non-negative numbers. |



### See Also
* module [`aspose.html.dom.canvas`](..)
