java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QFontMetricsF
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QFontMetricsF extends QtObject implements Cloneable
Font metrics information
Java wrapper for Qt class QFontMetricsF
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QFontMetricsF(QFont font)
QFontMetricsF(QFontMetrics arg__1)
QFontMetricsF(QFontMetricsF arg__1)
QFontMetricsF(QFont font, QPaintDevice pd)
protected
QFontMetricsF(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description double
ascent()
double
averageCharWidth()
QRectF
boundingRect(char arg__1)
QRectF
boundingRect(QRectF r, int flags, String string)
Overloaded function forboundingRect(io.qt.core.QRectF, int, java.lang.String, int, int[])
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
.QRectF
boundingRect(QRectF r, int flags, String string, int tabstops, int[] tabarray)
QRectF
boundingRect(String string)
double
capHeight()
QFontMetricsF
clone()
double
descent()
String
elidedText(String text, Qt.TextElideMode mode, double width)
Overloaded function forelidedText(java.lang.String, io.qt.core.Qt.TextElideMode, double, int)
withflags = 0
.String
elidedText(String text, Qt.TextElideMode mode, double width, int flags)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.double
fontDpi()
int
hashCode()
double
height()
double
horizontalAdvance(char arg__1)
double
horizontalAdvance(String string)
Overloaded function forhorizontalAdvance(java.lang.String, int)
withlength = -1
.double
horizontalAdvance(String string, int length)
boolean
inFont(char arg__1)
boolean
inFontUcs4(int ucs4)
double
leading()
double
leftBearing(char arg__1)
double
lineSpacing()
double
lineWidth()
double
maxWidth()
double
minLeftBearing()
double
minRightBearing()
double
overlinePos()
double
rightBearing(char arg__1)
QSizeF
size(int flags, String str)
Overloaded function forsize(int, java.lang.String, int, int[])
QSizeF
size(int flags, String str, int tabstops)
Overloaded function forsize(int, java.lang.String, int, int[])
withtabarray = null
.QSizeF
size(int flags, String str, int tabstops, int[] tabarray)
double
strikeOutPos()
void
swap(QFontMetricsF other)
QRectF
tightBoundingRect(String text)
double
underlinePos()
double
xHeight()
-
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
-