Skip to content

TextOverflow

enum TextOverflow
Package: dev.joid.lib.draw.text · Module: core · Source: TextOverflow.java

The marker that ends a text cut to fit a box with TextMode.OVERFLOW.

ReturnsSignatureSummary
StringgetOverflow()Returns the marker as a string.
ValueSummary
NONECuts the text without a marker.
ELLIPSISEnds the cut text with ....
DOTEnds the cut text with ..
HYPHENEnds the cut text with -.

String getOverflow()

Returns the marker as a string.

NONE

Cuts the text without a marker.

ELLIPSIS

Ends the cut text with ....

DOT

Ends the cut text with ..

HYPHEN

Ends the cut text with -.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page