IC8 Python API:RLPy RViewportTextStyle
Contents
- 1 Description
- 2 Constructor & Destructor
- 3 Member Functions
- 3.1 GetBold (self)
- 3.2 GetColor (self)
- 3.3 GetFontFamily (self)
- 3.4 GetFontSize (self)
- 3.5 GetItalic (self)
- 3.6 IsBoldSet (self)
- 3.7 IsColorSet (self)
- 3.8 IsFontFamilySet (self)
- 3.9 IsFontSizeSet (self)
- 3.10 IsItalicSet (self)
- 3.11 SetBold (self, bBold)
- 3.12 SetColor (self, kColor)
- 3.13 SetFontFamily (self, strFontFamily)
- 3.14 SetFontSize (self, fFontSize)
- 3.15 SetItalic (self, bItalic)
- 4 Properties
Description
This class stores the font, size, color, and emphasis settings used by a viewport label.
Constructor & Destructor
__init__ (self)
Initializes a new viewport text style instance.
Member Functions
GetBold (self)
Returns whether bold text is enabled.
GetColor (self)
Returns the text color used by this viewport label.
GetFontFamily (self)
Returns the font family used by this viewport label.
GetFontSize (self)
Returns the font size used by this viewport label.
GetItalic (self)
Returns whether italic text is enabled.
IsBoldSet (self)
Reports whether a bold-text setting has been specified.
IsColorSet (self)
Reports whether a text color has been specified.
IsFontFamilySet (self)
Reports whether a font family has been specified.
IsFontSizeSet (self)
Reports whether a font size has been specified.
IsItalicSet (self)
Reports whether an italic-text setting has been specified.
SetBold (self, bBold)
Sets whether bold text is enabled.
Parameters
- bBold
SetColor (self, kColor)
Sets the text color used by this viewport label.
Parameters
- kColor
SetFontFamily (self, strFontFamily)
Sets the font family used by this viewport label.
Parameters
- strFontFamily
SetFontSize (self, fFontSize)
Sets the font size used by this viewport label.
Parameters
- fFontSize
SetItalic (self, bItalic)
Sets whether italic text is enabled.
Parameters
- bItalic
Properties
bold
Indicates whether the viewport-label text is bold.
color
Color used for the viewport-label text.
fontFamily
Font family used for the viewport-label text.
fontSize
Font size used for the viewport-label text.
italic
Indicates whether the viewport-label text is italic.
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.