ViewerDrawingProcessOptions¶
Interface ViewerDrawingProcessOptions
interface ViewerDrawingProcessOptions {
brushPrimitiveType?: "triangleStrip";
penPrimitiveType?: "triangleStrip" | "lineStrip";
shapePrimitiveType?: "triangleStrip" | "lineStrip";
subDivisions?: number;
thumbnail?: boolean;
thumbnailHeight?: number;
thumbnailWidth?: number;
}
brushPrimitiveType?: "triangleStrip";
penPrimitiveType?: "triangleStrip" | "lineStrip";
shapePrimitiveType?: "triangleStrip" | "lineStrip";
subDivisions?: number;
thumbnail?: boolean;
thumbnailHeight?: number;
thumbnailWidth?: number;
}
Properties
Optionalbrush Primitive Type
brushPrimitiveType?: "triangleStrip"
Specifies the output primitive type of the brush-drawings.
Optionalpen Primitive Type
penPrimitiveType?: "triangleStrip" | "lineStrip"
Specifies the output primitive type of the pen-drawings.
Optionalshape Primitive Type
shapePrimitiveType?: "triangleStrip" | "lineStrip"
Specifies the output primitive type of the shape-drawings.
Optionalsub Divisions
subDivisions?: number
Specifies the number of points to render shapes with when using the "lineStrip" primitive type.
Optionalthumbnail
thumbnail?: boolean
Specifies if the result contains a thumbnail of the drawing.
Optionalthumbnail Height
thumbnailHeight?: number
Specifies the height of the thumbnail. If the thumbnail height or width is not set, the current viewer size is used.
Optionalthumbnail Width
thumbnailWidth?: number
Specifies the width of the thumbnail. If the thumbnail height or width is not set, the current viewer size is used.
Contains options for the ViewerDrawingAPI.leaveDrawingMode method. The options are used to configure the result of the processing.