              + 2 * bevelLength,
                ),
                (
                    unit.position[0] - self.thickness,
                    unit.position[1] + unit.size[1] - capLength,
                ),
            ],
            None,
            unit.lineColor,
            unit.lineSize,
        )

        ctx.path(
            [
                (
                    unit.position[0] + unit.size[0],
                    unit.position[1] + unit.size[1] * self.startYFraction + bevelLength,
            