Package ch.bailu.gtk.pango
Klasse FontFamily
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.pango.FontFamily
- Alle implementierten Schnittstellen:
PointerInterface
A `PangoFontFamily` is used to represent a family of related
font faces.
The font faces in a family share a common design, but differ in
slant, weight, width or other aspects.
font faces.
The font faces in a family share a common design, but differ in
slant, weight, width or other aspects.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungImplements interfaceListModel
.static ClassHandler
Gets the `PangoFontFace` of @family with the given name.Gets the `PangoFontFace` of @family with the given name.static int
getName()
Gets the name of the family.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
boolean
A monospace font is a font designed for text display where the the
characters form a regular grid.boolean
A variable font is a font which has axes that can be modified to
produce different faces.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
FontFamily
-
-
Methodendetails
-
getClassHandler
-
getFace
Gets the `PangoFontFace` of @family with the given name.- Parameter:
name
- the name of a face. If the name is %NULL, the family's default face (fontconfig calls it "Regular") will be returned.- Gibt zurück:
- the `PangoFontFace`, or %NULL if no face with the given name exists.
-
getFace
Gets the `PangoFontFace` of @family with the given name.- Parameter:
name
- the name of a face. If the name is %NULL, the family's default face (fontconfig calls it "Regular") will be returned.- Gibt zurück:
- the `PangoFontFace`, or %NULL if no face with the given name exists.
-
getName
Gets the name of the family.
The name is unique among all fonts for the font backend and can
be used in a `PangoFontDescription` to specify that a face from
this family is desired.- Gibt zurück:
- the name of the family. This string is owned by the family object and must not be modified or freed.
-
isMonospace
public boolean isMonospace()A monospace font is a font designed for text display where the the
characters form a regular grid.
For Western languages this would
mean that the advance width of all characters are the same, but
this categorization also includes Asian fonts which include
double-width characters: characters that occupy two grid cells.
g_unichar_iswide() returns a result that indicates whether a
character is typically double-width in a monospace font.
The best way to find out the grid-cell size is to call
[method@Pango.FontMetrics.get_approximate_digit_width], since the
results of [method@Pango.FontMetrics.get_approximate_char_width] may
be affected by double-width characters.- Gibt zurück:
- %TRUE if the family is monospace.
-
isVariable
public boolean isVariable()A variable font is a font which has axes that can be modified to
produce different faces.
Such axes are also known as _variations_; see
[method@Pango.FontDescription.set_variations] for more information.- Gibt zurück:
- %TRUE if the family is variable
-
asListModel
Implements interfaceListModel
. Call this to get access to interface functions.- Gibt zurück:
ListModel
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-