# GraffitiTabBarRenderer
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Function | CalculateDropIndicatorOffsets | As | Used for calculating drop indicator position when tab shapes require such an offset. |
| Function | CalculateTabOffsets | As | Used for calculating the item's position when drawn in the display when tab shapes require such an offset. |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Function | DrawCloseButton | As | Draw the items' close button. |
| Function | ItemShadowBrush | As | Brush used to draw a shadow beneath items for depth. |
| Sub | PaintBackground | (None) | Used for drawing the background of the control behind all other elements. |
| Sub | PaintBorder | (None) | Used for drawing the border of the control. Is the frontmost element drawn, so may overlap other elements. |
| Sub | PaintDisabledLayer | (None) | Paints the layer that overlayed on the entire component when Enabled = False. |
| Function | PaintDropIndicator | As | Draws the drop indicator that is displayed during drag operations. |
| Function | PaintItem | As | Draw the item to be displayed. |
| Function | PaintOverflowLeft | As | Draw the element that signifies overflow and is visible when the control is scrolled to the right. |
| Function | PaintOverflowRight | As | 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 | Nil | Style object whose properties should be applied during drawing. |