Trees | Indices | Help |
|
---|
|
object --+ | PatchSettings
Settings for all patch types (i.e. hydrophobic, positive, and negative).
|
|||
|
|||
tuple |
|
||
tuple |
|
||
tuple |
|
||
bool |
|
||
Inherited from |
|
|||
DEFAULT_TRANSPARENCY = 15
|
|||
float |
EP = 1e-07 A very small value (i.e. |
|
|||
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Get the color for the specified patch type
|
Get the font color for the specified patch type. The font color will be either black or white, whichever is more readable against the current color setting for the specified patch type.
Note: The font color is calculated by determining the luma value of the patch color. If the luma is greater than 50% (i.e. closer to white than black), then a black font color is used. If the luma is less than 50% (i.e. closer to black than white), then a white font color is used. See http://24ways.org/2010/calculating-color-contrast/ and http://www.w3.org/TR/AERT#color-contrast for additional information. |
Get the workspace label color for the specified patch type. The label color will be a darker version of the patch color. That way, the labels are readable against the protein surface.
|
Check to see if this object and
|
|
EPA very small value (i.e. epsilon) used for floating point comparisons in sameSizeAndThreshold.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 00:59:35 2016 | http://epydoc.sourceforge.net |