java.lang.Object
io.qt.QtObject
io.qt.gui.QTextLine
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a line of text inside a QTextLayout
Java wrapper for Qt class QTextLine
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTextLine::CursorPosition
static enum
Java wrapper for Qt enumQTextLine::Edge
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal double
ascent()
clone()
Creates and returns a copy of this object.final double
descent()
final void
Overloaded function fordraw(io.qt.gui.QPainter, io.qt.core.QPointF)
.final void
Overloaded function forglyphRuns(int, int)
glyphRuns
(int from) Overloaded function forglyphRuns(int, int)
withlength = -1
.glyphRuns
(int from, int length) glyphRuns
(int from, int length, QTextLayout.GlyphRunRetrievalFlag ... flags) Overloaded function forglyphRuns(int, int, io.qt.gui.QTextLayout.GlyphRunRetrievalFlags)
.glyphRuns
(int from, int length, QTextLayout.GlyphRunRetrievalFlags flags) final double
height()
final double
final boolean
isValid()
final double
leading()
final boolean
final int
final QRectF
final double
final QPointF
position()
final QRectF
rect()
final void
setLeadingIncluded
(boolean included) final void
setLineWidth
(double width) final void
setNumColumns
(int columns) final void
setNumColumns
(int columns, double alignmentWidth) final void
setPosition
(QPoint pos) Overloaded function forsetPosition(io.qt.core.QPointF)
.final void
setPosition
(QPointF pos) final int
final int
final double
width()
final double
x()
final int
xToCursor
(double x) Overloaded function forxToCursor(double, io.qt.gui.QTextLine.CursorPosition)
witharg__2 = io.qt.gui.QTextLine.CursorPosition.CursorBetweenCharacters
.final int
xToCursor
(double x, QTextLine.CursorPosition arg__2) final double
y()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTextLine
public QTextLine() -
QTextLine
-
-
Method Details
-
ascent
-
descent
-
draw
-
glyphRuns
-
glyphRuns
@QtUninvokable public final QList<QGlyphRun> glyphRuns(int from, int length, QTextLayout.GlyphRunRetrievalFlags flags) See
QTextLine::
glyphRuns(int, int, QTextLayout::GlyphRunRetrievalFlags)const This function was introduced in Qt 6.5.
-
height
-
horizontalAdvance
-
isValid
-
leading
-
leadingIncluded
-
lineNumber
-
naturalTextRect
-
naturalTextWidth
-
position
-
rect
-
setLeadingIncluded
-
setLineWidth
-
setNumColumns
-
setNumColumns
-
setPosition
-
textLength
-
textStart
-
width
-
x
-
xToCursor
-
y
-
clone
Creates and returns a copy of this object.
-
draw
Overloaded function for
draw(io.qt.gui.QPainter, io.qt.core.QPointF)
. -
glyphRuns
Overloaded function for
glyphRuns(int, int)
withlength = -1
. -
glyphRuns
-
glyphRuns
@QtUninvokable public final QList<QGlyphRun> glyphRuns(int from, int length, QTextLayout.GlyphRunRetrievalFlag ... flags) Overloaded function for
glyphRuns(int, int, io.qt.gui.QTextLayout.GlyphRunRetrievalFlags)
. -
setPosition
Overloaded function for
setPosition(io.qt.core.QPointF)
. -
xToCursor
Overloaded function for
xToCursor(double, io.qt.gui.QTextLine.CursorPosition)
witharg__2 = io.qt.gui.QTextLine.CursorPosition.CursorBetweenCharacters
.
-