public class RingGenerator extends BasicBondGenerator
Modifier and Type | Class and Description |
---|---|
static class |
RingGenerator.CDKStyleAromaticity
Depicts aromaticity of rings in the original CDK style.
|
static class |
RingGenerator.MaxDrawableAromaticRing
The maximum ring size for which an aromatic ring should be drawn.
|
static class |
RingGenerator.RingProportion
The proportion of a ring bounds to use to draw the ring.
|
static class |
RingGenerator.ShowAromaticity
Determines whether rings should be drawn with a circle if they are
aromatic.
|
BasicBondGenerator.BondDistance, BasicBondGenerator.BondWidth, BasicBondGenerator.DefaultBondColor, BasicBondGenerator.TowardsRingCenterProportion, BasicBondGenerator.WedgeWidth
ringSet
Constructor and Description |
---|
RingGenerator()
Make a generator for ring elements.
|
Modifier and Type | Method and Description |
---|---|
IRenderingElement |
generateRingElements(IBond bond,
IRing ring,
RendererModel model)
Generate ring elements, such as inner-ring bonds or ring stereo elements.
|
List<IGeneratorParameter<?>> |
getParameters()
Returns the list of
IGeneratorParameter for this particular
generator. |
bindsHydrogen, generate, generate, generateBond, generateBondElement, generateBondElement, generateInnerElement, getColorForBond, getRingSet, getWidthForBond, setOverrideBondWidth, setOverrideColor
public IRenderingElement generateRingElements(IBond bond, IRing ring, RendererModel model)
generateRingElements
in class BasicBondGenerator
bond
- the ring bond to use when generating elementsring
- the ring that the bond is inmodel
- the renderer modelpublic List<IGeneratorParameter<?>> getParameters()
IGeneratorParameter
for this particular
generator.getParameters
in interface IGenerator<IAtomContainer>
getParameters
in class BasicBondGenerator
List
of IGeneratorParameter
sCopyright © 2021. All rights reserved.