java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QFontMetricsF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Font metrics information
Java wrapper for Qt's class QFontMetricsF
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQFontMetricsF
(QFont font) QFontMetricsF
(QFontMetrics arg__1) QFontMetricsF
(QFontMetricsF arg__1) QFontMetricsF
(QFont font, QPaintDevice pd) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
ascent()
final double
final QRectF
boundingRect
(char arg__1) final QRectF
boundingRect
(QRectF r, int flags, String string) Overloaded function forboundingRect(io.qt.core.QRectF, int, java.lang.String, int, int[])
final QRectF
boundingRect
(QRectF r, int flags, String string, int tabstops) Overloaded function forboundingRect(io.qt.core.QRectF, int, java.lang.String, int, int[])
withtabarray = null
.final QRectF
boundingRect
(QRectF r, int flags, String string, int tabstops, int[] tabarray) final QRectF
boundingRect
(String string) final double
clone()
final double
descent()
final String
elidedText
(String text, Qt.TextElideMode mode, double width) Overloaded function forelidedText(java.lang.String, io.qt.core.Qt.TextElideMode, double, int)
withflags = 0
.final String
elidedText
(String text, Qt.TextElideMode mode, double width, int flags) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final double
fontDpi()
int
hashCode()
final double
height()
final double
horizontalAdvance
(char arg__1) final double
horizontalAdvance
(String string) Overloaded function forhorizontalAdvance(java.lang.String, int)
withlength = -1
.final double
horizontalAdvance
(String string, int length) final boolean
inFont
(char arg__1) final boolean
inFontUcs4
(int ucs4) final double
leading()
final double
leftBearing
(char arg__1) final double
final double
final double
maxWidth()
final double
final double
final double
final double
rightBearing
(char arg__1) final QSizeF
Overloaded function forsize(int, java.lang.String, int, int[])
final QSizeF
Overloaded function forsize(int, java.lang.String, int, int[])
withtabarray = null
.final QSizeF
final double
final void
swap
(QFontMetricsF other) final QRectF
tightBoundingRect
(String text) final double
final double
xHeight()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QFontMetricsF
-
QFontMetricsF
-
QFontMetricsF
-
QFontMetricsF
-
QFontMetricsF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
ascent
-
averageCharWidth
-
boundingRect
-
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, int, java.lang.String, int, int[])
withtabarray = null
. -
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRectF, int, java.lang.String, int, int[])
with:
tabstops = 0
tabarray = null
-
boundingRect
@QtUninvokable public final QRectF boundingRect(QRectF r, int flags, String string, int tabstops, int[] tabarray) -
boundingRect
-
capHeight
-
descent
-
elidedText
Overloaded function for
elidedText(java.lang.String, io.qt.core.Qt.TextElideMode, double, int)
withflags = 0
. -
elidedText
@QtUninvokable public final String elidedText(String text, Qt.TextElideMode mode, double width, int flags) -
fontDpi
-
height
-
horizontalAdvance
-
horizontalAdvance
Overloaded function for
horizontalAdvance(java.lang.String, int)
withlength = -1
. -
horizontalAdvance
-
inFont
-
inFontUcs4
-
leading
-
leftBearing
-
lineSpacing
-
lineWidth
-
maxWidth
-
minLeftBearing
-
minRightBearing
-
overlinePos
-
rightBearing
-
size
Overloaded function for
size(int, java.lang.String, int, int[])
withtabarray = null
. -
size
-
size
-
strikeOutPos
-
swap
-
tightBoundingRect
-
underlinePos
-
xHeight
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-