StickStyleSpec

Source: GLModel.ts

Stick (cylinder) style specification


Instance Fields

aromaticStyle: 'dashed' | 'circle'

Style for rendering aromatic (bond order 4) bonds.
"dashed" = one solid + one dashed bond (default)
"circle" = single bond + circle/torus inside the aromatic ring

color: ColorSpec

fixed coloring

colorfunc: function

Function receiving an atom and returning its color; used when colorscheme is not set.

colorscheme: ColorschemeSpec

colorscheme to use on atoms; overrides color

dashedBondConfig: DashedBondSpec

dashed bond properties

dashedBonds: boolean

draw all bonds as dashed bonds

doubleBondScaling: number

radius scaling factor for drawing double bonds (default 0.4)

hidden: boolean

do not show sticks

opacity: number

opacity (zero to one), must be the same for all atoms in a model

radius: number

radius of stick

showNonBonded: boolean

display nonbonded atoms as spheres

singleBonds: boolean

draw all bonds as single bonds

tripleBondScaling: number

radius scaling factor for drawing triple bonds (default 0.25)