|
|
|
|
Methods
Back Next
- copy() => font object
-
Return a distinct copy of the current font.
- actual() => dictionary, actual(option) =>
value
-
Return actual font attributes. If no option is given, returns
all actual font attribtues as a dictionary.
- cget(option) => string
-
Get configured font attribute.
- config() => dictionary, configure() =>
dictionary
-
Get full set of configured font attributes as a dictionary.
- config(options), configure(options...)
-
Modify one or more font attributes.
- measure(text) => integer
-
Return text width.
- metrics() => dictionary, metrics(options...)
=> value
-
Return one or more font metrics. If no arguments are given, all
metrics are returned as a dictionary.
For best performance, make sure that this font is in use before
calling this method. If necessary, you can create a dummy widget
using the font.
Back Next
|