Function convertPartialStrokesToOIStrokes

  • Parameters

    • json: {
          creationTime?: number;
          id?: string;
          length?: number;
          modificationDate?: number;
          pointers?: (undefined | { p?: number; t?: number; x?: number; y?: number })[];
          pointerType?: string;
          style?: {
              "-myscript-pen-fill-color"?: string;
              "-myscript-pen-fill-style"?: string;
              "-myscript-pen-width"?: number;
              color?: string;
              fill?: string;
              opacity?: number;
              width?: number;
              [key: string]: undefined | string | number;
          };
          type?: string;
      }[]

    Returns IIStroke[]