
## BarStyle class

Change the visual style of the bar for the item in the project view.

The BarStyle type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|BarStyle()|Initializes a new instance of the [BarStyle](/tasks/python-net/aspose.tasks.visualization/barstyle/) class.|
## Properties
| Name | Description |
| :- | :- |
|bar_color|Gets or sets aspose.pydrawing.Color of the bar style.|
|start_shape_color|Gets or sets aspose.pydrawing.Color of the shape at the beginning of the bar.|
|start_shape_type|Gets or sets a type of the start shape.|
|end_shape_color|Gets or sets aspose.pydrawing.Color of the shape at the end of the bar.|
|end_shape_type|Gets or sets a type of the end shape.<br/>            [GanttBarType](/tasks/python-net/aspose.tasks.visualization/ganttbartype/).|
|item_type|Gets or sets [BarItemType](/tasks/python-net/aspose.tasks.visualization/baritemtype/) of the bar style.|
|bar_shape|Gets or sets [bar_shape](/tasks/python-net/aspose.tasks.visualization/barstyle/) of the bar style.|
|start_shape|Gets or sets [Shape](/tasks/python-net/aspose.tasks.visualization/shape/) at the beginning of the bar.|
|end_shape|Gets or sets [Shape](/tasks/python-net/aspose.tasks.visualization/shape/) at the end of the bar.|
|text_style|Gets or sets style of the bar's text.|
|left_field|Gets or sets a field to be displayed on the left of the bar.|
|top_field|Gets or sets a field to be displayed on the top of the bar.|
|right_field|Gets or sets a field to be displayed on the right of the bar.|
|bottom_field|Gets or sets a field to be displayed on the bottom of the bar.|
|inside_field|Gets or sets a field to be displayed inside of the bar.|
|from_address|Gets or sets a start point position of the gantt bar.<br/>            [Field](/tasks/python-net/aspose.tasks/field/).|
|to|Gets or sets a finish point position of the gantt bar.|

### See Also

* namespace [aspose.tasks.visualization](/tasks/python-net/aspose.tasks.visualization/)
* assembly [Aspose.Tasks](/tasks/python-net/)

