## ICanvasDrawingStyles interface

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

```java
public interface ICanvasDrawingStyles
```

## Properties

| Name | Description |
| --- | --- |
[getFont]
[setFont] Font setting. Default value 10px sans-serif |
[getLineCap]
[setLineCap] Type of endings on the end of lines. Possible values: butt (default), round, square. |
[getLineDashOffset]
[setLineDashOffset] Specifies where to start a dash array on a line. |
[getLineJoin]
[setLineJoin] Defines the type of corners where two lines meet. Possible values: round, bevel, miter (default). |
[getLineWidth]
[setLineWidth] Width of lines. Default 1.0 |
[getMiterLimit]
[setMiterLimit] Miter limit ratio. Default 10. |
[getTextAlign]
[setTextAlign] Text alignment setting. Possible values: start (default), end, left, right or center. |
[getTextBaseline]
[setTextBaseline] Baseline alignment setting. Possible values: top, hanging, middle, alphabetic (default), ideographic, bottom. |

## Methods

| Name | Description |
| --- | --- |
| [getLineDash](../../com.aspose.html.dom.canvas/icanvasdrawingstyles/getlinedash/)() | Returns the current line dash pattern array containing an even number of non-negative numbers. |
| [setLineDash](../../com.aspose.html.dom.canvas/icanvasdrawingstyles/setlinedash/)(double[]) | Sets the current line dash pattern. |

### See Also

* package [com.aspose.html.dom.canvas](../../com.aspose.html.dom.canvas/)
* package [Aspose.HTML](../../)
