ChemPal Documentation - v1.12.0
    Preparing search index...

    How an element is drawn: its CPK colour and its covalent radius.

    export interface ElementStyle {
    /** Jmol/CPK colour as a 24-bit RGB integer, ready for `THREE.Color.setHex`. */
    color: number;
    /** Covalent radius in angstroms (Cordero 2008), used to scale the atom sphere. */
    radius: number;
    }
    interface ElementStyle {
        color: number;
        radius: number;
    }
    Index

    Properties

    Properties

    color: number

    Jmol/CPK colour as a 24-bit RGB integer, ready for THREE.Color.setHex.

    radius: number

    Covalent radius in angstroms (Cordero 2008), used to scale the atom sphere.