Package com.vladsch.flexmark.util.format
Interface CharWidthProvider
-
public interface CharWidthProvider
-
-
Field Summary
Fields Modifier and Type Field Description static CharWidthProvider
NULL
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getCharWidth(char c)
int
getSpaceWidth()
default int
getStringWidth(java.lang.CharSequence chars)
default int
getStringWidth(java.lang.CharSequence chars, CharPredicate zeroWidthChars)
-
-
-
Field Detail
-
NULL
static final CharWidthProvider NULL
-
-
Method Detail
-
getSpaceWidth
int getSpaceWidth()
-
getCharWidth
int getCharWidth(char c)
-
getStringWidth
default int getStringWidth(@NotNull java.lang.CharSequence chars)
-
getStringWidth
default int getStringWidth(@NotNull java.lang.CharSequence chars, @NotNull CharPredicate zeroWidthChars)
-
-