interface ShapeLabel {
    font: Partial<Font>;
    padding: number;
    text: string;
    textangle: number | "auto";
    textposition:
        | "middle"
        | "top left"
        | "top center"
        | "top right"
        | "middle left"
        | "middle center"
        | "middle right"
        | "bottom left"
        | "bottom center"
        | "bottom right"
        | "end"
        | "start";
    texttemplate: string;
    xanchor:
        | "auto"
        | "left"
        | "center"
        | "right";
    yanchor: "top" | "middle" | "bottom";
}

Properties

font: Partial<Font>
padding: number
text: string
textangle: number | "auto"
textposition:
    | "middle"
    | "top left"
    | "top center"
    | "top right"
    | "middle left"
    | "middle center"
    | "middle right"
    | "bottom left"
    | "bottom center"
    | "bottom right"
    | "end"
    | "start"
texttemplate: string
xanchor:
    | "auto"
    | "left"
    | "center"
    | "right"
yanchor: "top" | "middle" | "bottom"