java.lang.Object
io.qt.internal.NativeUtility.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's class QTextLine
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTextLine::CursorPositionstatic enum
Java wrapper for Qt enum QTextLine::EdgeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
ascent()
clone()
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() -
QTextLine
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
ascent
-
descent
-
draw
-
glyphRuns
Overloaded function for
glyphRuns(int, int)
withlength = -1
. -
glyphRuns
-
glyphRuns
-
height
-
horizontalAdvance
-
isValid
-
leading
-
leadingIncluded
-
lineNumber
-
naturalTextRect
-
naturalTextWidth
-
position
-
rect
-
setLeadingIncluded
-
setLineWidth
-
setNumColumns
-
setNumColumns
-
setPosition
-
textLength
-
textStart
-
width
-
x
-
xToCursor
Overloaded function for
xToCursor(double, io.qt.gui.QTextLine.CursorPosition)
witharg__2 = io.qt.gui.QTextLine.CursorPosition.CursorBetweenCharacters
. -
xToCursor
-
y
-
clone
-