---
comments: true
---

# Draw Utils

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_line">draw_line</a></h2>
</div>

:::supervision.draw.utils.draw_line

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_rectangle">draw_rectangle</a></h2>
</div>

:::supervision.draw.utils.draw_rectangle

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_filled_rectangle">draw_filled_rectangle</a></h2>
</div>

:::supervision.draw.utils.draw_filled_rectangle

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_polygon">draw_polygon</a></h2>
</div>

:::supervision.draw.utils.draw_polygon

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_filled_polygon">draw_filled_polygon</a></h2>
</div>

:::supervision.draw.utils.draw_filled_polygon

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_text">draw_text</a></h2>
</div>

:::supervision.draw.utils.draw_text

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.draw_image">draw_image</a></h2>
</div>

:::supervision.draw.utils.draw_image

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.calculate_optimal_text_scale">calculate_optimal_text_scale</a></h2>
</div>

:::supervision.draw.utils.calculate_optimal_text_scale

<div class="md-typeset">
    <h2><a href="#supervision.draw.utils.calculate_optimal_line_thickness">calculate_optimal_line_thickness</a></h2>
</div>

:::supervision.draw.utils.calculate_optimal_line_thickness

<div class="md-typeset">
    <h2><a href="#supervision.draw.color.Color">Color</a></h2>
</div>

:::supervision.draw.color.Color

<div class="md-typeset">
    <h2><a href="#supervision.draw.color.ColorPalette">ColorPalette</a></h2>
</div>

:::supervision.draw.color.ColorPalette
