Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

ViewerDrawingProcessOptions

Type Alias ViewerDrawingProcessOptions

ViewerDrawingProcessOptions: {
    brushPrimitiveType?: "triangleStrip";
    penPrimitiveType?: "triangleStrip" | "lineStrip";
    shapePrimitiveType?: "triangleStrip" | "lineStrip";
    subDivisions?: number;
    thumbnail?: boolean;
    thumbnailHeight?: number;
    thumbnailWidth?: number;
}

Type declaration

  • OptionalbrushPrimitiveType?: "triangleStrip"

    Specifies the output primitive type of the Brush-Drawings.

    "triangleStrip"
    
  • OptionalpenPrimitiveType?: "triangleStrip" | "lineStrip"

    Specifies the output primitive type of the Pen-Drawings.

    "triangleStrip"
    
  • OptionalshapePrimitiveType?: "triangleStrip" | "lineStrip"

    Specifies the output primitive type of the Shape-Drawings.

    "triangleStrip"
    
  • OptionalsubDivisions?: number

    Specifies the number of points to render shapes with when using the "lineStrip" primitive type.

    50
    
  • Optionalthumbnail?: boolean

    Specifies if the result contains a thumbnail of the Drawing.

    true
    
  • OptionalthumbnailHeight?: number

    Specifies the height of the thumbnail. If the thumbnail height or width is not set, the current viewer size is used.

    undefined
    
  • OptionalthumbnailWidth?: number

    Specifies the width of the thumbnail. If the thumbnail height or width is not set, the current viewer size is used.

    undefined