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) 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
-
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
-
xToCursor
Overloaded function for
xToCursor(double, io.qt.gui.QTextLine.CursorPosition)
witharg__2 = io.qt.gui.QTextLine.CursorPosition.CursorBetweenCharacters
.
-