private getTailArea(labelLayout: IOrientedRectangle): IOrientedRectangle {
const w = labelLayout.width * 0.5
const h = -tailHeight
const tailTipX =
labelLayout.anchorX + labelLayout.upX * h - labelLayout.upY * w
const tailTipY =
labelLayout.anchorY + labelLayout.upY * h + labelLayout.upX * w
return new OrientedRectangle({
anchorX: tailTipX,
anchorY: tailTipY,
height: tailHeight,
width: tailWidth,
upX: labelLayout.upX,
upY: labelLayout.upY
})
}