# GraffitiTabBarRenderer
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| CalculateDropIndicatorOffsets | currentOffset as Point <br> bar as GraffitiTabBar | Point | Used for calculating drop indicator position when tab shapes require such an offset. |
| CalculateTabOffsets | currentOffset as Point <br> bar as GraffitiTabBar <br> item as GraffitiTabBarItem <br> itemIndex as Integer | Point | Used for calculating the item's position when drawn in the display when tab shapes require such an offset. |
| Constructor | (None) | (None) | Creates a new instance of the class. |
| DrawCloseButton | bar as GraffitiTabBar <br> hover as Boolean <br> selected as Boolean | Picture | Draw the items' close button. |
| ItemShadowBrush | (None) | ShadowBrush | Brush used to draw a shadow beneath items for depth. |
| PaintBackground | bar as GraffitiTabBar <br> g as Graphics | (None) | Used for drawing the background of the control behind all other elements. |
| PaintBorder | bar as GraffitiTabBar <br> g as Graphics | (None) | Used for drawing the border of the control. Is the frontmost element drawn, so may overlap other elements. |
| PaintDisabledLayer | bar as GraffitiTabBar <br> g as Graphics | (None) | Paints the layer that overlayed on the entire component when Enabled = False. |
| PaintDropIndicator | bar as GraffitiTabBar | Picture | Draws the drop indicator that is displayed during drag operations. |
| PaintItem | bar as GraffitiTabBar <br> item as GraffitiTabBarItem | Picture | Draw the item to be displayed. |
| PaintOverflowLeft | bar as GraffitiTabBar <br> hover as Boolean <br> pressed as Boolean | Picture | Draw the element that signifies overflow and is visible when the control is scrolled to the right. |
| PaintOverflowRight | bar as GraffitiTabBar <br> hover as Boolean <br> pressed as Boolean | Picture | Draw the element that signifies overflow and is visible when the control is scrolled to the left. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| IconSize | Integer | 16 | Size, in points, that the icon is drawn within items. |
| Style | GraffitiTabBarStyle | (None) | Style object whose properties should be applied during drawing. |