Class AtomSymbolElement

java.lang.Object
org.openscience.cdk.renderer.elements.TextElement
org.openscience.cdk.renderer.elements.AtomSymbolElement
All Implemented Interfaces:
IRenderingElement
Direct Known Subclasses:
AtomMassSymbolElement

public class AtomSymbolElement extends TextElement
A text element with added information.
Source code:
main
Belongs to CDK module:
renderbasic
  • Field Details

    • formalCharge

      public final int formalCharge
      The formal charge.
    • hydrogenCount

      public final int hydrogenCount
      The hydrogen count.
    • alignment

      public final int alignment
      The hydrogen alignment.
  • Constructor Details

    • AtomSymbolElement

      public AtomSymbolElement(double x, double y, String symbol, Integer formalCharge, Integer hydrogenCount, int alignment, Color color)
  • Method Details