docx
    Preparing search index...

    Type Alias ShapeLineOptions

    Line options for a shape.

    type ShapeLineOptions = {
        cap?: ShapeLineCap;
        color?: ShapeColor;
        compound?: ShapeCompoundLine;
        dash?: LineDash | CustomLineDash;
        endArrow?: Arrowhead;
        gradient?: Omit<GradientShapeFill, "type">;
        join?: ShapeLineJoin;
        startArrow?: Arrowhead;
        transparency?: number;
        width?: number;
    }
    Index

    The shape of the line's ends and of the ends of each dash

    color?: ShapeColor

    A 6-digit hex colour such as "FF0000", or a colour of the document's theme such as { theme: "accent1" }. Default is "000000"

    Draws the line as two or three parallel lines within its width. Default is "single"

    A preset dash pattern, or dashes and gaps of your own. Default is a solid line

    endArrow?: Arrowhead

    Arrowhead at the end of the line

    gradient?: Omit<GradientShapeFill, "type">

    Colours the line with a gradient instead of color

    The shape of the corners where the line turns

    startArrow?: Arrowhead

    Arrowhead at the start of the line

    transparency?: number

    From 0 (opaque) to 100 (invisible)

    width?: number

    Line width in points, from 0 to 1584. Default is 1