|
| __init__ (self) |
|
| __init__ (self, FontInfo _finfo) |
|
| __init__ (self, str _fname) |
|
| __init__ (self, str _fname, int _st) |
|
Font | size (self, int _size) |
| set the font size
|
|
int | size (self) |
| get the font size
|
|
Font | weight (self, int weight) |
| set the font weight
|
|
int | weight (self) |
| get the font weight
|
|
Font | style (self, int st) |
| set the style of the font
|
|
int | style (self) |
| get the font style
|
|
Font | name (self, str _fname) |
| set the font name
|
|
str | name (self) |
| get the font name
|
|
| select (self) |
| selects a font object into the viewport
|
|
◆ __init__() [1/4]
coat.Font.__init__ |
( |
| self | ) |
|
◆ __init__() [2/4]
coat.Font.__init__ |
( |
| self, |
|
|
FontInfo | _finfo ) |
◆ __init__() [3/4]
coat.Font.__init__ |
( |
| self, |
|
|
str | _fname ) |
◆ __init__() [4/4]
coat.Font.__init__ |
( |
| self, |
|
|
str | _fname, |
|
|
int | _st ) |
◆ name() [1/2]
str coat.Font.name |
( |
| self | ) |
|
get the font name
- Returns
- the font name
◆ name() [2/2]
Font coat.Font.name |
( |
| self, |
|
|
str | _fname ) |
set the font name
- Parameters
-
- Returns
- font reference
◆ select()
selects a font object into the viewport
◆ size() [1/2]
int coat.Font.size |
( |
| self | ) |
|
get the font size
- Returns
- font size
◆ size() [2/2]
Font coat.Font.size |
( |
| self, |
|
|
int | _size ) |
set the font size
- Parameters
-
- Returns
- font reference
◆ style() [1/2]
int coat.Font.style |
( |
| self | ) |
|
get the font style
- Returns
- the font style
◆ style() [2/2]
Font coat.Font.style |
( |
| self, |
|
|
int | st ) |
set the style of the font
- Parameters
-
- Returns
- font reference
◆ weight() [1/2]
int coat.Font.weight |
( |
| self | ) |
|
get the font weight
- Returns
- font weight
◆ weight() [2/2]
Font coat.Font.weight |
( |
| self, |
|
|
int | weight ) |
set the font weight
- Parameters
-
weight | font weight property |
- Returns
- font reference
The documentation for this class was generated from the following file: