osgText.TextBase¶
-
class
osgText.TextBase¶ Represents: c++ class Wraps: osgText::TextBase Bases: osg.DrawableMethods:
-
:
setFont(osgText.Font font)¶ -
Parameters: font ( osgText.Font) –
-
:
setFontFile(std.string fontfile)¶ -
Parameters: fontfile ( std.string) –
-
:
setFontResolution(unsigned width, unsigned height)¶ -
Parameters: - width (
unsigned) – - height (
unsigned) –
- width (
-
:
getFontWidth()¶ -
Return type: unsigned
-
:
getFontHeight()¶ -
Return type: unsigned
-
:
setText(std.string text)¶ -
Parameters: text ( std.string) –
-
:
setText(std.string text, osgText.String.Encoding encoding) -
Parameters: - text (
std.string) – - encoding (
osgText.String.Encoding) –
- text (
-
:
getText()¶ -
Return type: osgText.String
-
:
update()¶
-
:
setCharacterSize(double height, double ratio)¶ -
Parameters: - height (
double) – - ratio (
double) –
- height (
-
:
getCharacterHeight()¶ -
Return type: double
-
:
getCharacterAspectRatio()¶ -
Return type: double
-
:
setCharacterSizeMode(osgText.TextBase.CharacterSizeMode mode)¶ -
Parameters: mode ( osgText.TextBase.CharacterSizeMode) –
-
:
getCharacterSizeMode()¶ -
Return type: osgText.TextBase.CharacterSizeMode
-
:
setMaximumWidth(double width)¶ -
Parameters: width ( double) –
-
:
getMaximumWidth()¶ -
Return type: double
-
:
setMaximumHeight(double height)¶ -
Parameters: height ( double) –
-
:
getMaximumHeight()¶ -
Return type: double
-
:
setLineSpacing(double lineSpacing)¶ -
Parameters: lineSpacing ( double) –
-
:
getLineSpacing()¶ -
Return type: double
-
:
setAlignment(osgText.TextBase.AlignmentType alignment)¶ -
Parameters: alignment ( osgText.TextBase.AlignmentType) –
-
:
getAlignment()¶ -
Return type: osgText.TextBase.AlignmentType
-
:
setAxisAlignment(osgText.TextBase.AxisAlignment alignment)¶ -
Parameters: alignment ( osgText.TextBase.AxisAlignment) –
-
:
getAxisAlignment()¶ -
Return type: osgText.TextBase.AxisAlignment
-
:
setAutoRotateToScreen(bool autoRotateToScreen)¶ -
Parameters: autoRotateToScreen ( bool) –
-
:
getAutoRotateToScreen()¶ -
Return type: bool
-
:
setLayout(osgText.TextBase.Layout layout)¶ -
Parameters: layout ( osgText.TextBase.Layout) –
-
:
getLayout()¶ -
Return type: osgText.TextBase.Layout
-
:
setDrawMode(unsigned mask)¶ -
Parameters: mask ( unsigned) –
-
:
getDrawMode()¶ -
Return type: unsigned
-
:
setBoundingBoxMargin(double margin)¶ -
Parameters: margin ( double) –
-
:
getBoundingBoxMargin()¶ -
Return type: double
-
:
setKerningType(osgText.KerningType type)¶ -
Parameters: type ( osgText.KerningType) –
-
:
getKerningType()¶ -
Return type: osgText.KerningType
-
:
getLineCount()¶ -
Return type: unsigned
-
:
getCoords()¶ -
Return type: osg.Vec3Array
-
:
getMatrix()¶ -
Return type: osg.Matrix
-
: