Class JpegExporter.Builder<T extends JpegExporter.Builder<T>>
- java.lang.Object
-
- chemaxon.formats.GeneralExportOptions.Builder<T>
-
- chemaxon.marvin.io.image.ImageExporter.Builder<T>
-
- chemaxon.marvin.io.image.exporter.JpegExporter.Builder<T>
-
- Enclosing class:
- JpegExporter
public abstract static class JpegExporter.Builder<T extends JpegExporter.Builder<T>> extends ImageExporter.Builder<T>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JpegExporter
build()
Builds an unmodifiable export option.T
setNoSource()
Omits saving of molecule source into image as comment.T
setQuality(int quality)
Sets the quality of the generated jpeg file.-
Methods inherited from class chemaxon.marvin.io.image.ImageExporter.Builder
anyBondStyle, atomAndBondColors, atomFont, atomLabelSize, atomMapping, atomNumber, atomNumberType, ballRadius, bgColor, bgColorAlpha, bondHashSpacing, bondWidth, carbonDisplay, chargeFont, chiralityDisplay, coloring, coordBondStyle, coordBondStyleAtMulticenter, displayChargeInCircle, explicitLonePairs, height, hideAtomSymbols, hideRGroups, hydrogenDisplay, ligandOrderVisibility, lonePairs, lonePairsAsLine, marginSize, maxScale, noAntiAlias, oneLetterPeptide, rendering, scale, self, showAbsoluteLabel, showAtomProperties, showBondLength, showEZ, showGraphInvariants, showLigandError, showValenceError, showValenceProperty, stickThickness, transparentBg, useSetColors, wedgeOrientationUp, width, wireThickness
-
-
-
-
Method Detail
-
setQuality
public T setQuality(int quality)
Sets the quality of the generated jpeg file.- Parameters:
quality
- int value between 0 and 100.- Returns:
- builder
-
setNoSource
public T setNoSource()
Omits saving of molecule source into image as comment.- Returns:
- builder
-
build
public JpegExporter build()
Builds an unmodifiable export option.- Specified by:
build
in classImageExporter.Builder<T extends JpegExporter.Builder<T>>
- Returns:
-
-