OpenSceneGraph 2.8.3
|
TextProperties allows users to specify a number of properties for the text used to display the labels & title on the ScalarBar. More...
Public Member Functions | |
TextProperties () | |
Public Attributes | |
std::string | _fontFile |
std::pair< int, int > | _fontResolution |
float | _characterSize |
osg::Vec4 | _color |
TextProperties allows users to specify a number of properties for the text used to display the labels & title on the ScalarBar.
Specifiying a character size of 0 will cause the ScalarBar to estimate an appropriate size. Note that the attributes are public, and may be set directly.
osgSim::ScalarBar::TextProperties::TextProperties | ( | ) | [inline] |
std::string osgSim::ScalarBar::TextProperties::_fontFile |
std::pair<int,int> osgSim::ScalarBar::TextProperties::_fontResolution |
![]() | Generated at Tue Mar 22 2011 13:20:29 for the OpenSceneGraph by doxygen 1.7.3. |