iink-ts - v4.0.0
    Preparing search index...

    Type Alias TDecorator

    TDecorator: TBaseSymbol & {
        baseline?: number;
        bounds: TOBB;
        edges: TSegment[];
        hasBounds: boolean;
        kind: DecoratorKind;
        snapPoints: TPoint[];
        style: TStyle;
        targetIds: string[];
        type: Decorator;
        vertices: TPoint[];
        xHeight?: number;
    }

    Standalone decorator symbol that references the strokes or text it decorates. When standalone (in model.symbols): targetIds contains the referenced stroke IDs and hasBounds is true with word-level bounding box. When embedded (in TText.decorators[]): targetIds is empty and hasBounds is false (the parent symbol's bounds are used at render time).