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