new ChemDisplayTextUtils()
        Methods about chem information displaying and rich text.
    
    
    
    
    
    
- Source:
 
Methods
- 
    
        
(static) createElectronStateDisplayTextSection(charge, radical, partialChargeDecimalsLength, chargeMarkType) → {Object}
 - 
    
    Create a rich text section (usually superscript) to display atom charge and radical.
Parameters:
Name Type Description chargeNumber radicalInt partialChargeDecimalsLengthInt chargeMarkTypeInt - Source:
 
Returns:
- Type
 - Object
 
 - 
    
        
(static) formulaToRichText(formula, showCharge, showRadical, partialChargeDecimalsLength) → {Object}
 - 
    
    Convert a chemistry formula to a displayable rich format text label.
Parameters:
Name Type Description formulaKekule.MolecularFormula showChargeBool Whether display formula charge. showRadicalBool Whether display formula radical. partialChargeDecimalsLengthInt - Source:
 
Returns:
- Type
 - Object
 
 - 
    
        
(static) getChargeDisplayText(charge, radical, partialChargeDecimalsLength, chargeMarkType) → {String}
 - 
    
    Returns text to represent atom charge and radical (e.g., 2+).
Parameters:
Name Type Description chargeNumber radicalInt partialChargeDecimalsLengthInt chargeMarkTypeInt - Source:
 
Returns:
- Type
 - String
 
 - 
    
        
(static) getRadicalDisplayText(radical) → {String}
 - 
    
    Returns suitable text to indicate the radical.
Parameters:
Name Type Description radicalInt - Source:
 
Returns:
- Type
 - String