34;Internal has no parent set!&#34;)
        return

    unit = self.parent

    if unit.capLength == None:
        capLength = unit.size[0] / 2
    else:
        capLength = unit.capLength

    bevelLength = self.thickness * 2

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