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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal double
ascent()
clone()
Creates and returns a copy of this object.final double
descent()
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
(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()
-
-
Method Details
-
ascent
-
descent
-
draw
-
glyphRuns
-
glyphRuns
@QtUninvokable public final QList<QGlyphRun> glyphRuns(int from, int length, QTextLayout.GlyphRunRetrievalFlags flags) -
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.
-
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)
. -
xToCursor
Overloaded function for
xToCursor(double, io.qt.gui.QTextLine.CursorPosition)
witharg__2 = io.qt.gui.QTextLine.CursorPosition.CursorBetweenCharacters
.
-