OELayerPosition

This namespace contains constants representing the position of layers available for an OE2DMolDisplay class.

The OELayerPosition namespace contains the following constants:

Above

Provides access to above image (OEImage) of a OE2DMolDisplay object. Everything drawn to this image will be rendered last when calling the OERenderMolecule function, as a result the image will appear above the molecule depiction. See example in Figure: Example of drawing a triangle into the above layer.

../../_images/OELayerPosition_Above.png

Example of drawing a triangle into the above layer

Below

Provides access to below image (OEImage) of a OE2DMolDisplay object. Everything drawn to this image will be rendered first when calling the OERenderMolecule function, as a result the image will appear below the molecule depiction.

For example, the sticks drawn to highlighting bonds when using the OEHighlightStyle::Stick style all drawn into a below layer. See example in Figure: Example of drawing a triangle into the below layer.

../../_images/OELayerPosition_Below.png

Example of drawing a triangle into the below layer

SVG

This layer is used internally when generating interactive SVG images.