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

    ctx.chord(
        [
            (
                unit.position[0] - se