- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Font metrics information
Java wrapper for Qt class QFontMetrics
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQFontMetrics
(QFont arg__1) QFontMetrics
(QFontMetrics arg__1) QFontMetrics
(QFont font, QPaintDevice pd) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal int
ascent()
final int
final QRect
boundingRect
(char arg__1) final QRect
boundingRect
(int x, int y, int w, int h, int flags, String text) Overloaded function forboundingRect(int, int, int, int, int, java.lang.String, int, int[])
final QRect
boundingRect
(int x, int y, int w, int h, int flags, String text, int tabstops) Overloaded function forboundingRect(int, int, int, int, int, java.lang.String, int, int[])
withtabarray = null
.final QRect
boundingRect
(int x, int y, int w, int h, int flags, String text, int tabstops, int[] tabarray) final QRect
boundingRect
(QRect r, int flags, String text) Overloaded function forboundingRect(io.qt.core.QRect, int, java.lang.String, int, int[])
final QRect
boundingRect
(QRect r, int flags, String text, int tabstops) Overloaded function forboundingRect(io.qt.core.QRect, int, java.lang.String, int, int[])
withtabarray = null
.final QRect
boundingRect
(QRect r, int flags, String text, int tabstops, int[] tabarray) final QRect
boundingRect
(String text) final int
clone()
final int
descent()
final String
elidedText
(String text, Qt.TextElideMode mode, int width) Overloaded function forelidedText(java.lang.String, io.qt.core.Qt.TextElideMode, int, int)
withflags = 0
.final String
elidedText
(String text, Qt.TextElideMode mode, int 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 int
height()
final int
horizontalAdvance
(char arg__1) final int
horizontalAdvance
(String arg__1) Overloaded function forhorizontalAdvance(java.lang.String, int)
withlen = -1
.final int
horizontalAdvance
(String arg__1, int len) final boolean
inFont
(char arg__1) final boolean
inFontUcs4
(int ucs4) final int
leading()
final int
leftBearing
(char arg__1) final int
final int
final int
maxWidth()
final int
final int
final int
final int
rightBearing
(char arg__1) final QSize
Overloaded function forsize(int, java.lang.String, int, int[])
final QSize
Overloaded function forsize(int, java.lang.String, int, int[])
withtabarray = null
.final QSize
final int
final void
swap
(QFontMetrics other) final QRect
tightBoundingRect
(String text) final int
final int
xHeight()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QFontMetrics
-
QFontMetrics
-
QFontMetrics
-
QFontMetrics
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
ascent
-
averageCharWidth
-
boundingRect
-
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRect, int, java.lang.String, int, int[])
withtabarray = null
. -
boundingRect
Overloaded function for
boundingRect(io.qt.core.QRect, int, java.lang.String, int, int[])
with:
tabstops = 0
tabarray = null
-
boundingRect
@QtUninvokable public final QRect boundingRect(QRect r, int flags, String text, int tabstops, int[] tabarray) -
boundingRect
-
boundingRect
@QtUninvokable public final QRect boundingRect(int x, int y, int w, int h, int flags, String text, int tabstops) Overloaded function for
boundingRect(int, int, int, int, int, java.lang.String, int, int[])
withtabarray = null
. -
boundingRect
Overloaded function for
boundingRect(int, int, int, int, int, java.lang.String, int, int[])
with:
tabstops = 0
tabarray = null
-
boundingRect
@QtUninvokable public final QRect boundingRect(int x, int y, int w, int h, int flags, String text, int tabstops, int[] tabarray) -
capHeight
-
descent
-
elidedText
Overloaded function for
elidedText(java.lang.String, io.qt.core.Qt.TextElideMode, int, int)
withflags = 0
. -
elidedText
@QtUninvokable public final String elidedText(String text, Qt.TextElideMode mode, int width, int flags) -
fontDpi
-
height
-
horizontalAdvance
-
horizontalAdvance
Overloaded function for
horizontalAdvance(java.lang.String, int)
withlen = -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
-