Preparing search index...

    The line cap style for a stroked path — how the ends of open sub-paths and dash segments are rendered. Mirrors the SVG stroke-linecap attribute. Pass to VectorStrokeBuilder#setCap.

    Lens Scripting Version 370

    var sb = VectorStrokeBuilder.create(6);
    sb.setCap(VectorComposite.LineCap.Round);
    var stroke = sb.build();
    Index

    Enumeration Members

    Enumeration Members

    Butt: number

    No cap — the stroke ends exactly at the path endpoint. This is the SVG default.

    Lens Scripting Version 370

    Round: number

    A semicircular cap centered at the path endpoint, extending the stroke by half the stroke width.

    Lens Scripting Version 370

    Square: number

    A rectangular cap centered at the path endpoint, extending the stroke by half the stroke width.

    Lens Scripting Version 370