public static interface UnihexFontProvider.SizeOverride
extends net.kyori.examination.Examinable
| Modifier and Type | Method and Description |
|---|---|
int |
from()
The start of the codepoint range (inclusive).
|
int |
left()
The left-most column of the glyph in this
range.
|
static @NotNull UnihexFontProvider.SizeOverride |
of(int from,
int to,
int left,
int right)
Deprecated.
Use
override(int, int, int, int) instead |
static @NotNull UnihexFontProvider.SizeOverride |
override(int from,
int to,
int left,
int right)
Creates a new
UnihexFontProvider.SizeOverride instance
with the given parameters. |
static @NotNull UnihexFontProvider.SizeOverride |
override(java.lang.String from,
java.lang.String to,
int left,
int right)
Creates a new
UnihexFontProvider.SizeOverride instance
with the given parameters. |
int |
right()
The right-most column of the glyph in this
range.
|
int |
to()
The end of the codepoint range (inclusive).
|
@NotNull static @NotNull UnihexFontProvider.SizeOverride override(int from, int to, int left, int right)
UnihexFontProvider.SizeOverride instance
with the given parameters.from - The start of the codepoint range (inclusive)to - The end of the codepoint range (inclusive)left - The left-most column of the glyphright - The right-most column of the glyph@NotNull static @NotNull UnihexFontProvider.SizeOverride override(java.lang.String from, java.lang.String to, int left, int right)
UnihexFontProvider.SizeOverride instance
with the given parameters.from - The start of the codepoint range (inclusive),
the given string must have a single codepointto - The end of the codepoint range (inclusive),
the given string must have a single codepointleft - The left-most column of the glyphright - The right-most column of the glyph@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") @NotNull static @NotNull UnihexFontProvider.SizeOverride of(int from, int to, int left, int right)
override(int, int, int, int) insteadUnihexFontProvider.SizeOverride instance
with the given parameters.from - The start of the codepoint range (inclusive)to - The end of the codepoint range (inclusive)left - The left-most column of the glyphright - The right-most column of the glyphint from()
int to()
int left()
int right()