Chemical Data Processing Library Python API - Version 1.1.1
Static Public Attributes | List of all members
CDPL.Vis.BondProperty Class Reference

Provides keys for built-in Chem.Bond properties. More...

+ Inheritance diagram for CDPL.Vis.BondProperty:

Static Public Attributes

 COLOR = CDPL.Base.LookupKey('COLOR')
 Specifies the color of the bond. More...
 
 DOUBLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('DOUBLE_BOND_TRIM_LENGTH')
 Specifies the amount by which the non-central lines of asymmetric double bonds have to be trimmed at each line end. More...
 
 LABEL_FONT = CDPL.Base.LookupKey('LABEL_FONT')
 Specifies the font for bond labels. More...
 
 LABEL_MARGIN = CDPL.Base.LookupKey('LABEL_MARGIN')
 Specifies the margin of free space around bond labels. More...
 
 LABEL_SIZE = CDPL.Base.LookupKey('LABEL_SIZE')
 Specifies the size of bond labels. More...
 
 LINE_SPACING = CDPL.Base.LookupKey('LINE_SPACING')
 Specifies the distance between the lines of double and triple bonds. More...
 
 LINE_WIDTH = CDPL.Base.LookupKey('LINE_WIDTH')
 Specifies the width of bond lines. More...
 
 REACTION_CENTER_LINE_LENGTH = CDPL.Base.LookupKey('REACTION_CENTER_LINE_LENGTH')
 Specifies the length of the lines in reaction center marks. More...
 
 REACTION_CENTER_LINE_SPACING = CDPL.Base.LookupKey('REACTION_CENTER_LINE_SPACING')
 Specifies the distance between the lines in reaction center marks. More...
 
 TRIPLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('TRIPLE_BOND_TRIM_LENGTH')
 Specifies the amount by which the non-central lines of triple bonds have to be trimmed at each line end. More...
 
 STEREO_BOND_HASH_SPACING = CDPL.Base.LookupKey('STEREO_BOND_HASH_SPACING')
 Specifies the distance between the hashes of down stereo bonds. More...
 
 STEREO_BOND_WEDGE_WIDTH = CDPL.Base.LookupKey('STEREO_BOND_WEDGE_WIDTH')
 Specifies the width of wedge-shaped stereo bonds. More...
 
 CONFIGURATION_LABEL_FONT = CDPL.Base.LookupKey('CONFIGURATION_LABEL_FONT')
 Specifies the font used for bond configuration descriptor text labels. More...
 
 CONFIGURATION_LABEL_SIZE = CDPL.Base.LookupKey('CONFIGURATION_LABEL_SIZE')
 Specifies the size of bond configuration descriptor text labels. More...
 

Detailed Description

Provides keys for built-in Chem.Bond properties.

Member Data Documentation

◆ COLOR

CDPL.Vis.BondProperty.COLOR = CDPL.Base.LookupKey('COLOR')
static

Specifies the color of the bond.

The color specified by this property takes precedence over the colors specified by Vis.ControlParameter.BOND_COLOR and Vis.MolecularGraphProperty.BOND_COLOR.

Value Type: Vis.Color

◆ DOUBLE_BOND_TRIM_LENGTH

CDPL.Vis.BondProperty.DOUBLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('DOUBLE_BOND_TRIM_LENGTH')
static

Specifies the amount by which the non-central lines of asymmetric double bonds have to be trimmed at each line end.

The trim length can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the trim length will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the length grows/shrinks with the size of the chemical structure during viewport size adjustment. The trim length specified by this property takes precedence over the lengths specified by Vis.ControlParameter.DOUBLE_BOND_TRIM_LENGTH and Vis.MolecularGraphProperty.DOUBLE_BOND_TRIM_LENGTH.

Value Type: Vis.SizeSpecification

◆ LABEL_FONT

CDPL.Vis.BondProperty.LABEL_FONT = CDPL.Base.LookupKey('LABEL_FONT')
static

Specifies the font for bond labels.

The font specified by this property takes precedence over the fonts specified by Vis.ControlParameter.BOND_LABEL_FONT and Vis.MolecularGraphProperty.BOND_LABEL_FONT.

Value Type: Vis.Font

◆ LABEL_MARGIN

CDPL.Vis.BondProperty.LABEL_MARGIN = CDPL.Base.LookupKey('LABEL_MARGIN')
static

Specifies the margin of free space around bond labels.

The margin can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.BOND_LABEL_SIZE, Vis.MolecularGraphProperty.BOND_LABEL_SIZE or Vis.BondProperty.LABEL_SIZE. If input-scaling is enabled, the width of the margin will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the margin will follow the size change of the chemical structure during viewport size adjustment. The margin specified by this property takes precedence over the margins specified by Vis.ControlParameter.BOND_LABEL_MARGIN and Vis.MolecularGraphProperty.BOND_LABEL_MARGIN.

Value Type: Vis.SizeSpecification

◆ LABEL_SIZE

CDPL.Vis.BondProperty.LABEL_SIZE = CDPL.Base.LookupKey('LABEL_SIZE')
static

Specifies the size of bond labels.

The font size has to be specified as an absolute value. If input-scaling is enabled, the font size will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will follow the size change of the chemical structure during viewport size adjustment. The font size specified by this property takes precedence over the sizes specified by Vis.ControlParameter.BOND_LABEL_SIZE and Vis.MolecularGraphProperty.BOND_LABEL_SIZE.

Value Type: Vis.SizeSpecification

◆ LINE_SPACING

CDPL.Vis.BondProperty.LINE_SPACING = CDPL.Base.LookupKey('LINE_SPACING')
static

Specifies the distance between the lines of double and triple bonds.

The distance can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line distance will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the distance grows/shrinks with the size of the chemical structure during viewport size adjustment. The line spacing specified by this property takes precedence over the distances specified by Vis.ControlParameter.BOND_LINE_SPACING and Vis.MolecularGraphProperty.BOND_LINE_SPACING.

Value Type: Vis.SizeSpecification

◆ LINE_WIDTH

CDPL.Vis.BondProperty.LINE_WIDTH = CDPL.Base.LookupKey('LINE_WIDTH')
static

Specifies the width of bond lines.

The width can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line width will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the line width grows/shrinks with the size of the chemical structure during viewport size adjustment. The line width specified by this property takes precedence over the widths specified by Vis.ControlParameter.BOND_LINE_WIDTH and Vis.MolecularGraphProperty.BOND_LINE_WIDTH.

Value Type: Vis.SizeSpecification

◆ REACTION_CENTER_LINE_LENGTH

CDPL.Vis.BondProperty.REACTION_CENTER_LINE_LENGTH = CDPL.Base.LookupKey('REACTION_CENTER_LINE_LENGTH')
static

Specifies the length of the lines in reaction center marks.

The length can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line length will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the length grows/shrinks with the size of the chemical structure during viewport size adjustment. The line length specified by this property takes precedence over the length specified by Vis.ControlParameter.REACTION_CENTER_LINE_LENGTH or Vis.MolecularGraphProperty.REACTION_CENTER_LINE_LENGTH.

Value Type: Vis.SizeSpecification

See also
Vis.ControlParameter.SHOW_BOND_REACTION_INFOS

◆ REACTION_CENTER_LINE_SPACING

CDPL.Vis.BondProperty.REACTION_CENTER_LINE_SPACING = CDPL.Base.LookupKey('REACTION_CENTER_LINE_SPACING')
static

Specifies the distance between the lines in reaction center marks.

The distance can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the line distance will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the distance grows/shrinks with the size of the chemical structure during viewport size adjustment. The line spacing specified by this property takes precedence over the spacing specified by Vis.ControlParameter.REACTION_CENTER_LINE_SPACING or Vis.MolecularGraphProperty.REACTION_CENTER_LINE_SPACING.

Value Type: Vis.SizeSpecification

See also
Vis.ControlParameter.SHOW_BOND_REACTION_INFOS

◆ TRIPLE_BOND_TRIM_LENGTH

CDPL.Vis.BondProperty.TRIPLE_BOND_TRIM_LENGTH = CDPL.Base.LookupKey('TRIPLE_BOND_TRIM_LENGTH')
static

Specifies the amount by which the non-central lines of triple bonds have to be trimmed at each line end.

The trim length can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the trim length will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the length grows/shrinks with the size of the chemical structure during viewport size adjustment. The trim length specified by this property takes precedence over the lengths specified by Vis.ControlParameter.TRIPLE_BOND_TRIM_LENGTH and Vis.MolecularGraphProperty.TRIPLE_BOND_TRIM_LENGTH.

Value Type: Vis.SizeSpecification

◆ STEREO_BOND_HASH_SPACING

CDPL.Vis.BondProperty.STEREO_BOND_HASH_SPACING = CDPL.Base.LookupKey('STEREO_BOND_HASH_SPACING')
static

Specifies the distance between the hashes of down stereo bonds.

The distance can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the hash distance will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the hash distance grows/shrinks with the size of the chemical structure during viewport size adjustment. The hash spacing specified by this property takes precedence over the distances specified by Vis.ControlParameter.STEREO_BOND_HASH_SPACING and Vis.MolecularGraphProperty.STEREO_BOND_HASH_SPACING.

Value Type: Vis.SizeSpecification

◆ STEREO_BOND_WEDGE_WIDTH

CDPL.Vis.BondProperty.STEREO_BOND_WEDGE_WIDTH = CDPL.Base.LookupKey('STEREO_BOND_WEDGE_WIDTH')
static

Specifies the width of wedge-shaped stereo bonds.

The width can either be specified as an absolute value or as a scaling factor for the bond length. If input-scaling is enabled, the wedge width will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the wedge width grows/shrinks with the size of the chemical structure during viewport size adjustment. The wedge width specified by this property takes precedence over the width specified by Vis.ControlParameter.STEREO_BOND_WEDGE_WIDTH or Vis.MolecularGraphProperty.STEREO_BOND_WEDGE_WIDTH.

Value Type: Vis.SizeSpecification

◆ CONFIGURATION_LABEL_FONT

CDPL.Vis.BondProperty.CONFIGURATION_LABEL_FONT = CDPL.Base.LookupKey('CONFIGURATION_LABEL_FONT')
static

Specifies the font used for bond configuration descriptor text labels.

The font specified by this property takes precedence over the fonts specified by Vis.ControlParameter.BOND_CONFIGURATION_LABEL_FONT and Vis.MolecularGraphProperty.BOND_CONFIGURATION_LABEL_FONT.

Value Type: Vis.Font

Since
1.1

◆ CONFIGURATION_LABEL_SIZE

CDPL.Vis.BondProperty.CONFIGURATION_LABEL_SIZE = CDPL.Base.LookupKey('CONFIGURATION_LABEL_SIZE')
static

Specifies the size of bond configuration descriptor text labels.

The size can either be specified as an absolute value or as a scaling factor for the primary label size given by Vis.ControlParameter.BOND_LABEL_SIZE, Vis.MolecularGraphProperty.BOND_LABEL_SIZE or Vis.BondProperty.LABEL_SIZE. If input-scaling is enabled, the size of the font will follow the size change of the chemical structure during bond length normalization. If output-scaling is enabled, the font size will follow the size change of the chemical structure during viewport size adjustment. The specified size takes precedence over the size specified by the parameter Vis.ControlParameter.BOND_CONFIGURATION_LABEL_SIZE and Vis.MolecularGraphProperty.BOND_CONFIGURATION_LABEL_SIZE.

Value Type: Vis.SizeSpecification

Since
1.1