Home | Trees | Indices | Help |
|
---|
|
object --+ | internals._Objectype --+ | baseTypes._Type0 --+ | Font
Python Font
Type, wrapping ObjC NSFont
.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
count Get the number of glyphs ( int ).
|
|
family Get the font family name (str ).
|
|
height Get the line height (float or
int ).
|
|
heightAscender Get the ascender height (float ).
|
|
heightBaseline Get the baseline offset (float or
int ).
|
|
heightCap Get the cap height (float or
int ).
|
|
heightDescender Get the descender height (float ).
|
|
heightLeading Get the leading height (float or
int ).
|
|
heightUnderline Get the underline position (float ).
|
|
heightX Get the x height (float or
int ).
|
|
isBold Get the Bold trait ( bool ).
|
|
isCompressed Get the Compressed trait (bool ).
|
|
isCondensed Get the Condensed trait (bool ).
|
|
isExpanded Get the Expanded trait (bool ).
|
|
isItalic Get the Italic trait ( bool ).
|
|
isMonoSpace Get the MonoSpace trait (bool ).
|
|
isNarrow Get the Narrow trait (bool ).
|
|
isPoster Get the Poster trait (bool ).
|
|
isSansSerif Get the SansSerif "trait" (bool ).
|
|
isSmallCaps Get the SmallCaps trait (bool ).
|
|
isUnBold Get the UnBold "trait" (bool ).
|
|
isUnItalic Get the UnItalic "trait" (bool ).
|
|
isVertical Get the Vertical "trait" (bool or
None if unknown).
|
|
name Get the font name ( str ).
|
|
NS Get the ObjC instance ( NSFont ).
|
|
size Get the point size of the font (float or
int ).
|
|
slant Get the italic angle ( float , int or
None ).
|
|
traits Get all font traits ( FontTrait s mask).
|
|
vertical Get the vertical version of this font (Font or
None ).
|
|
weight Get the book weight of the font (int or
None ).
|
|
Inherited from Inherited from Inherited from |
Method Details |
New Font.
|
str(x)
|
Get this font in an other point size.
See Also:
Font |
Get the size of a string.
|
Return a font with increased point
See Also:
Font |
Return a font with updated
See Also:
Font |
Property Details |
countGet the number of glyphs (
|
familyGet the font
|
heightGet the
Note:
The |
heightAscenderGet the
|
heightBaselineGet the
|
heightCapGet the
|
heightDescenderGet the
|
heightLeadingGet the
|
heightUnderlineGet the
|
heightXGet the
|
isBoldGet the Bold trait (
|
isCompressedGet the
|
isCondensedGet the
|
isExpandedGet the
|
isItalicGet the Italic trait (
|
isMonoSpaceGet the
|
isNarrowGet the
|
isPosterGet the
|
isSansSerifGet the
|
isSmallCapsGet the
|
isUnBoldGet the
|
isUnItalicGet the
|
isVerticalGet the
|
nameGet the font name (
|
NSGet the ObjC instance (
|
sizeGet the
|
slantGet the italic angle (
|
traitsGet all font traits (
|
verticalGet the
|
weightGet the book
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 8 11:26:16 2025 | http://epydoc.sourceforge.net |