{Object} TextBufferParameters - text buffer parameters
property
{Float} opacity - translucency: 1 is fully opaque, 0 is fully transparent
property
{Integer} clipNear - position of camera near/front clipping plane
in percent of scene bounding box
property
{String} labelType - type of the label, one of:
"atomname", "atomindex", "occupancy", "bfactor",
"serial", "element", "atom", "resname", "resno",
"res", "text", "qualified". When set to "text", the
labelText list is used.
property
{String[]} labelText - list of label strings, must set labelType to "text"
to take effect
property
{String} fontFamily - font family, one of: "sans-serif", "monospace", "serif"
property
{String} fontStyle - font style, "normal" or "italic"
property
{String} fontWeight - font weight, "normal" or "bold"
property
{Float} xOffset - offset in x-direction
property
{Float} yOffset - offset in y-direction
property
{Float} zOffset - offset in z-direction (i.e. in camera direction)
property
{String} attachment - attachment of the label, one of:
"bottom-left", "bottom-center", "bottom-right",
"middle-left", "middle-center", "middle-right",
"top-left", "top-center", "top-right"
property
{Boolean} showBorder - show border/outline
property
{Color} borderColor - color of the border/outline
property
{Float} borderWidth - width of the border/outline
property
{Boolean} showBackground - show background rectangle
property
{Color} backgroundColor - color of the background
property
{Float} backgroundMargin - width of the background
property
{Float} backgroundOpacity - opacity of the background
property
{Boolean} fixedSize - show text with a fixed pixel size
Text buffer parameter object.
{Object} TextBufferParameters - text buffer parameters
{Float} opacity - translucency: 1 is fully opaque, 0 is fully transparent
{Integer} clipNear - position of camera near/front clipping plane in percent of scene bounding box
{String} labelType - type of the label, one of: "atomname", "atomindex", "occupancy", "bfactor", "serial", "element", "atom", "resname", "resno", "res", "text", "qualified". When set to "text", the
labelText
list is used.{String[]} labelText - list of label strings, must set
labelType
to "text" to take effect{String} fontFamily - font family, one of: "sans-serif", "monospace", "serif"
{String} fontStyle - font style, "normal" or "italic"
{String} fontWeight - font weight, "normal" or "bold"
{Float} xOffset - offset in x-direction
{Float} yOffset - offset in y-direction
{Float} zOffset - offset in z-direction (i.e. in camera direction)
{String} attachment - attachment of the label, one of: "bottom-left", "bottom-center", "bottom-right", "middle-left", "middle-center", "middle-right", "top-left", "top-center", "top-right"
{Boolean} showBorder - show border/outline
{Color} borderColor - color of the border/outline
{Float} borderWidth - width of the border/outline
{Boolean} showBackground - show background rectangle
{Color} backgroundColor - color of the background
{Float} backgroundMargin - width of the background
{Float} backgroundOpacity - opacity of the background
{Boolean} fixedSize - show text with a fixed pixel size