public interface CharWidthProvider
| Modifier and Type | Field and Description |
|---|---|
static CharWidthProvider |
NULL |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharWidth(char c) |
int |
getSpaceWidth() |
default int |
getStringWidth(@NotNull CharSequence chars) |
default int |
getStringWidth(@NotNull CharSequence chars,
@NotNull com.vladsch.flexmark.util.misc.CharPredicate zeroWidthChars) |
static final CharWidthProvider NULL
int getSpaceWidth()
int getCharWidth(char c)
default int getStringWidth(@NotNull
@NotNull CharSequence chars)
default int getStringWidth(@NotNull
@NotNull CharSequence chars,
@NotNull
@NotNull com.vladsch.flexmark.util.misc.CharPredicate zeroWidthChars)
Copyright © 2020. All rights reserved.