(style)
| 8761 | } |
| 8762 | |
| 8763 | function needDrawBackground(style) { |
| 8764 | return !!( |
| 8765 | style.textBackgroundColor |
| 8766 | || (style.textBorderWidth && style.textBorderColor) |
| 8767 | ); |
| 8768 | } |
| 8769 | |
| 8770 | // style: {textBackgroundColor, textBorderWidth, textBorderColor, textBorderRadius, text} |
| 8771 | // shape: {x, y, width, height} |
no outgoing calls
no test coverage detected