public abstract static class ImageExporter.Builder<T extends ImageExporter.Builder<T>>
extends chemaxon.formats.GeneralExportOptions.Builder<T>
Type | Property and Description |
---|---|
T |
showValence
Show valence property on atoms that have the valence property explicitly set.
|
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
anyBondStyle(ImageExporter.LineType type)
Sets the drawing style for ANY bonds.
|
T |
atomAndBondColors(java.lang.String colors)
Set the atom and bond colors.
|
T |
atomFont(java.lang.String fontType)
Atom font type.
|
T |
atomLabelSize(double d)
Sets the atom label font size.
|
T |
atomMapping()
Displays atom mapping.
|
T |
atomNumber()
Displays atom numbers.
|
T |
atomNumberType(ImageExporter.AtomNumberingType type)
Sets the type of atom numbering: Atom numbers or IUPAC numbering.
|
T |
ballRadius(double d)
Sets the ball radius in ball and stick mode.
|
T |
bgColor(java.lang.String rgb)
Sets the background color.
|
T |
bgColorAlpha(java.lang.String argb)
Sets the background color with alpha value.
|
T |
bondHashSpacing(double spacing)
The spacing of the hash in hashed bonds in C-C bond length units.
|
T |
bondWidth(double d)
Sets the width of the double bond.
|
abstract ImageExporter |
build()
Builds an unmodifiable export option.
|
T |
carbonDisplay(ImageExporter.CarbonDisplay display)
Show the atom labels on carbon atoms.
|
T |
chargeFont(java.lang.String fontType)
Font type in circled charge display.
|
T |
chiralityDisplay(ImageExporter.ChiralityDisplayOption option)
Sets the chirality display option.
|
T |
coloring(ImageExporter.Coloring c)
Sets the coloring scheme.
|
T |
coordBondStyle(ImageExporter.LineType lineType)
Coordinate bond display style.
|
T |
coordBondStyleAtMulticenter(ImageExporter.LineType lineType)
Coordinate bond display style when it connects to a multicenter atom.
|
T |
displayChargeInCircle()
Display charge symbols in a circle.
|
T |
explicitLonePairs()
Display the explicit lone pairs instead of the implicit lone pairs if lone pair
displaying is switched on.
|
T |
height(int h)
Sets the height of the image.
|
T |
hideAtomSymbols()
Hide atom symbol in 3D mode.
|
T |
hideRGroups()
R-groups won't be displayed.
|
T |
hydrogenDisplay(ImageExporter.HydrogenDisplayOption option)
Sets the hydrogen display option.
|
T |
ligandOrderVisibility(ImageExporter.LigandOrderVisibility visibility)
Displays ligand orders.
|
T |
lonePairs()
Display lone pairs.
|
T |
lonePairsAsLine()
Display lone pairs as a line instead of the default two dots.
|
T |
marginSize(double size)
Size of the margin in pt.
|
T |
maxScale(double d)
Sets the maximum magnification to prevent overscaling.
|
T |
noAntiAlias()
Switch off antialiasing.
|
T |
oneLetterPeptide()
Display peptides with their one letter abbreviation instead of the three letter
abbreviation which is the default.
|
T |
rendering(ImageExporter.Rendering r)
Sets the rendering style.
|
T |
scale(double d)
Sets the magnification.
|
protected abstract T |
self() |
T |
showAbsoluteLabel()
Sets the Abolute label to visibile.
|
T |
showAtomProperties()
Show atom properties.
|
T |
showBondLength()
Displays the length of bonds in Angstroms.
|
T |
showEZ()
Show E/Z.
|
T |
showGraphInvariants()
Displays graph invariants.
|
T |
showLigandError()
Show ligand errors on R-groups.
|
T |
showValenceError()
Displays valence errors.
|
T |
showValenceProperty()
Show valence property on atoms that have the valence property explicitly set.
|
T |
stickThickness(double d)
Sets the stick diameter in ball and stick mode.
|
T |
transparentBg()
Sets the image background to transparent.
|
T |
useSetColors()
Use atom/bond set colors.
|
T |
wedgeOrientationUp()
Sets down wedge orientation to upward (default downward).
|
T |
width(int w)
Sets the width of the image.
|
T |
wireThickness(double d)
Sets the bond thickness in wireframe mode.
|
public T extends ImageExporter.Builder<T> showValenceProperty
protected abstract T self()
self
in class chemaxon.formats.GeneralExportOptions.Builder<T extends ImageExporter.Builder<T>>
public abstract ImageExporter build()
build
in class chemaxon.formats.GeneralExportOptions.Builder<T extends ImageExporter.Builder<T>>
public T hydrogenDisplay(ImageExporter.HydrogenDisplayOption option)
option
- the display optionpublic T chiralityDisplay(ImageExporter.ChiralityDisplayOption option)
option
- the display optionpublic T width(int w)
w
- the width in pixelspublic T height(int h)
h
- the height in pixelspublic T scale(double d)
d
- the magnificationpublic T maxScale(double d)
d
- the maximum value for magnificationpublic T atomLabelSize(double d)
d
- the size valuepublic T bondWidth(double d)
d
- the widthpublic T wireThickness(double d)
d
- the thickness valuepublic T stickThickness(double d)
d
- the diameter valuepublic T ballRadius(double d)
d
- the ball radius valuepublic T bgColor(java.lang.String rgb)
rgb
- the background color in RGBpublic T bgColorAlpha(java.lang.String argb)
argb
- the alpha value + the RGB codepublic T transparentBg()
public T coloring(ImageExporter.Coloring c)
c
- the coloring schemepublic T useSetColors()
public T atomAndBondColors(java.lang.String colors)
colors
- the colors string. Use "ak:#rrggbb" for atom set k, "bk:#rrggbb" for bond set
k.public T rendering(ImageExporter.Rendering r)
r
- rendering stylepublic T noAntiAlias()
public T atomMapping()
public T atomNumber()
public T atomNumberType(ImageExporter.AtomNumberingType type)
type
- atom numbers or IUPAC numberingpublic T lonePairs()
public T explicitLonePairs()
public T lonePairsAsLine()
public T wedgeOrientationUp()
public T anyBondStyle(ImageExporter.LineType type)
type
- the line typepublic T hideAtomSymbols()
public T showValenceProperty()
public T showEZ()
public T carbonDisplay(ImageExporter.CarbonDisplay display)
display
- the carbon atom display optionpublic T showGraphInvariants()
public T showBondLength()
public T showValenceError()
public T showAbsoluteLabel()
public T ligandOrderVisibility(ImageExporter.LigandOrderVisibility visibility)
visibility
- the ligand order display valuepublic T showLigandError()
public T coordBondStyle(ImageExporter.LineType lineType)
lineType
- LineType.SOLID or LineType.ARROWpublic T coordBondStyleAtMulticenter(ImageExporter.LineType lineType)
lineType
- LineType.SOLID or LineType.DASHEDpublic T displayChargeInCircle()
public T oneLetterPeptide()
public T showAtomProperties()
public T atomFont(java.lang.String fontType)
fontType
- the font type as a string example: "Times New Roman-PLAIN-12"public T chargeFont(java.lang.String fontType)
fontType
- the font type as stringpublic T hideRGroups()
public T bondHashSpacing(double spacing)
spacing
- the spacingpublic T marginSize(double size)
size
- size of the margin in pt