Top Fields Methods
com.vladsch.flexmark.util.format

public Interface CharWidthProvider

Imports
com.vladsch.flexmark.util.misc.CharPredicate, org.jetbrains.annotations.NotNull

Field Summary

Modifier and TypeField and Description
public static final CharWidthProvider

Method Summary

Modifier and TypeMethod and Description
public int
getCharWidth(char c)

public int
public default int
public default int

Field Detail

NULLback to summary
public static final CharWidthProvider NULL

Method Detail

getCharWidthback to summary
public int getCharWidth(char c)
getSpaceWidthback to summary
public int getSpaceWidth()
getStringWidthback to summary
public default int getStringWidth(@NotNull CharSequence chars)
getStringWidthback to summary
public default int getStringWidth(@NotNull CharSequence chars, @NotNull CharPredicate zeroWidthChars)