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

    Variable DecoratorOpsConst

    DecoratorOps: {
        create(
            kind: DecoratorKind,
            style: {
                color?: string;
                fill?: string;
                opacity?: number;
                width?: number;
                [key: string]: string | number | undefined;
            },
            targetIds?: string[],
            bounds?: TBox,
        ): TDecorator;
        overlaps(decorator: TDecorator, box: TBox): boolean;
        setBounds(decorator: TDecorator, bounds: TOBB): void;
    } = ...

    Type Declaration

    • create: function
      • Parameters

        • kind: DecoratorKind
        • style: {
              color?: string;
              fill?: string;
              opacity?: number;
              width?: number;
              [key: string]: string | number | undefined;
          }
        • targetIds: string[] = []
        • Optionalbounds: TBox

        Returns TDecorator

    • overlaps: function
      • Parameters

        Returns boolean

    • setBounds: function
      • Parameters

        Returns void