Field Notes
    Preparing search index...

    Interface TemplateElement

    interface TemplateElement {
        angle: number;
        editor?: string;
        feetPerCell?: number;
        fillColor: string;
        groupId?: string;
        id: string;
        index: string;
        layerId: string;
        link?: string;
        locked: boolean;
        opacity: number;
        parentId?: string;
        position: Point;
        radius: number;
        radiusFeet?: number;
        renderStyle?: TemplateRenderStyle;
        rotation?: number;
        strokeColor: string;
        strokeWidth: number;
        templateShape: TemplateShape;
        type: "template";
        version: number;
        width?: number;
    }

    Hierarchy (View Summary)

    Index
    angle: number
    editor?: string

    Peer that wrote the accepted remote version; absent after a local edit.

    feetPerCell?: number
    fillColor: string
    groupId?: string

    Optional flat group membership. Elements sharing a groupId select/move/delete as a unit.

    id: string
    index: string

    Fractional order key within the layer; '' only on input, meaning "place on top".

    layerId: string
    link?: string

    Opens from the select tool; http(s), mailto or #fn:element=<id> only.

    locked: boolean
    opacity: number
    parentId?: string

    Optional containing element. Parent and child share a layer.

    position: Point
    radius: number
    radiusFeet?: number
    renderStyle?: TemplateRenderStyle
    rotation?: number

    Rotation in radians (clockwise) about the element's center. Absent = 0 (unrotated). Applied to note/text/image/html/shape/stroke; ignored for arrows. Extension element definitions own their rotation semantics.

    strokeColor: string
    strokeWidth: number
    templateShape: TemplateShape
    type: "template"
    version: number

    Per-element revision: local edits bump it, remote edits carry the accepted value.

    width?: number

    Rectangle-only: full perpendicular extent in world units (centered on the aim axis). Absent for other shapes. Distinct from strokeWidth.