public class BasicSceneGenerator extends Object implements IGenerator<IAtomContainer>
Modifier and Type | Class and Description |
---|---|
static class |
BasicSceneGenerator.ArrowHeadWidth
The width of the head of arrows.
|
static class |
BasicSceneGenerator.BackgroundColor
The background color of the drawn image.
|
static class |
BasicSceneGenerator.BondLength
The length on the screen of a typical bond.
|
static class |
BasicSceneGenerator.FitToScreen
If true, the scale is set such that the diagram
fills the whole screen.
|
static class |
BasicSceneGenerator.FontName
Font to use for text.
|
static class |
BasicSceneGenerator.ForegroundColor
The foreground color, with which objects are drawn.
|
static class |
BasicSceneGenerator.Margin
Area on each of the four margins to keep empty.
|
static class |
BasicSceneGenerator.Scale
The scale is the factor to multiply model coordinates by to convert the
coordinates to screen space coordinate, such that the entire structure
fits the visible screen dimension.
|
static class |
BasicSceneGenerator.ShowMoleculeTitle
Determines if the molecule's title is depicted.
|
static class |
BasicSceneGenerator.ShowReactionTitle
Determines if the reaction's title is depicted.
|
static class |
BasicSceneGenerator.ShowTooltip
Determines if tooltips are to be shown.
|
static class |
BasicSceneGenerator.UseAntiAliasing
If set to true, uses anti-aliasing for drawing.
|
static class |
BasicSceneGenerator.UsedFontStyle
The font style to use for text.
|
static class |
BasicSceneGenerator.ZoomFactor
The zoom factor which is a user oriented parameter allowing the
user to zoom in on parts of the molecule.
|
Constructor and Description |
---|
BasicSceneGenerator()
An empty constructor necessary for reflection.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
generate(IAtomContainer ac,
RendererModel model)
Converts a
IChemObject from the chemical data model into
something that can be drawn in the chemical drawing. |
List<IGeneratorParameter<?>> |
getParameters()
Returns the list of
IGeneratorParameter for this particular
generator. |
public BasicSceneGenerator()
public IRenderingElement generate(IAtomContainer ac, RendererModel model)
IChemObject
from the chemical data model into
something that can be drawn in the chemical drawing.generate
in interface IGenerator<IAtomContainer>
ac
- the chemical entity to be depictedmodel
- the rendering parameterspublic List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter
for this particular
generator.getParameters
in interface IGenerator<IAtomContainer>
List
of IGeneratorParameter
sCopyright © 2017. All Rights Reserved.