Class GuiTextLayout
java.lang.Object
com.render.api.gui.GuiTextLayout
Immutable positioned-glyph layout with source-aware caret and selection geometry.
-
Method Summary
Modifier and TypeMethodDescriptioncaretRect(int utf16Offset) hitTest(float x, float y) metrics()intmoveVertical(int utf16Offset, boolean down) intmoveVisual(int utf16Offset, boolean right) booleanlongselectionRects(int startUtf16, int endUtf16)
-
Method Details
-
sourceText
-
metrics
-
resourceGeneration
public long resourceGeneration() -
nativeShaped
public boolean nativeShaped() -
caretRect
-
hitTest
-
selectionRects
-
moveVisual
public int moveVisual(int utf16Offset, boolean right) -
moveVertical
public int moveVertical(int utf16Offset, boolean down)
-