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
Optional
brush Primitive Type
brushPrimitiveType?: "triangleStrip"
Optional
pen Primitive Type
penPrimitiveType?: "triangleStrip" | "lineStrip"
Specifies the output primitive type of the Pen-Drawings.
Optional
shape Primitive Type
shapePrimitiveType?: "triangleStrip" | "lineStrip"
Specifies the output primitive type of the Shape-Drawings.
Optional
sub Divisions
subDivisions?: number
Specifies the number of points to render shapes with when using the "lineStrip" primitive type.
Optional
thumbnail
thumbnail?: boolean
Specifies if the result contains a thumbnail of the Drawing.
Optional
thumbnail Height
thumbnailHeight?: number
Specifies the height of the thumbnail. If the thumbnail height or width is not set, the current viewer size is used.
Optional
thumbnail Width
thumbnailWidth?: number
Specifies the width of the thumbnail. If the thumbnail height or width is not set, the current viewer size is used.
Specifies the output primitive type of the Brush-Drawings.