C D I P S W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- CharacterWidthFunction - Interface in solar.squares.pixelwidth
-
A function that takes a character(represented by its UTF-16 codepoint) and a
Styleand returns the characters width as anint. - contextualPixelWidth(Function<CX, CharacterWidthFunction>) - Static method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
-
A pixel width source calculating width using
ComponentFlattener.basic()and the provided character width function. - contextualPixelWidth(ComponentFlattener, Function<CX, CharacterWidthFunction>) - Static method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
-
A pixel width source calculating width using the provided flattener and character width function.
- ContextualPixelWidthSource<CX> - Interface in solar.squares.pixelwidth
-
A source able to return the width of text with the usage of
CharacterWidthFunctions and a contextCX.
D
- DefaultCharacterWidthFunction - Class in solar.squares.pixelwidth
-
Generated with MinecraftFontPixelWidth.
- DefaultCharacterWidthFunction() - Constructor for class solar.squares.pixelwidth.DefaultCharacterWidthFunction
I
- INSTANCE - Static variable in class solar.squares.pixelwidth.DefaultCharacterWidthFunction
P
- pixelWidth() - Static method in interface solar.squares.pixelwidth.PixelWidthSource
-
A pixel width source calculating width.
- pixelWidth(ComponentFlattener) - Static method in interface solar.squares.pixelwidth.PixelWidthSource
-
A pixel width source calculating width using the provided flattener.
- pixelWidth(ComponentFlattener, CharacterWidthFunction) - Static method in interface solar.squares.pixelwidth.PixelWidthSource
-
A pixel width source calculating width using the provided flattener and character width function.
- pixelWidth(CharacterWidthFunction) - Static method in interface solar.squares.pixelwidth.PixelWidthSource
-
A pixel width source calculating width using the provided character width function.
- PixelWidthSource - Interface in solar.squares.pixelwidth
-
A source able to return the width of text with the usage of
CharacterWidthFunctions.
S
- solar.squares.pixelwidth - package solar.squares.pixelwidth
-
Pixel width calculation of in game characters.
W
- width(char, Style) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
- width(char, Style) - Method in interface solar.squares.pixelwidth.PixelWidthSource
-
Calculates the pixel width of a character without any context.
- width(char, Style, CX) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
-
Calculates the pixel width of a character, given a context.
- width(int, Style) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
- width(int, Style) - Method in interface solar.squares.pixelwidth.PixelWidthSource
-
Calculates the pixel width of a character represented by a codepoint without any context.
- width(int, Style, CX) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
-
Calculates the pixel width of a character represented by a codepoint, given a context.
- width(String, Style) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
- width(String, Style) - Method in interface solar.squares.pixelwidth.PixelWidthSource
-
Calculates the pixel width of a string without any context.
- width(String, Style, CX) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
-
Calculates the pixel width of a string, given a context.
- width(Component) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
- width(Component) - Method in interface solar.squares.pixelwidth.PixelWidthSource
-
Calculates the pixel width of a component without any context.
- width(Component, CX) - Method in interface solar.squares.pixelwidth.ContextualPixelWidthSource
-
Calculates the pixel width of a component, given a context.
- widthOf(int, Style) - Method in class solar.squares.pixelwidth.DefaultCharacterWidthFunction
- widthOf(int, Style) - Method in interface solar.squares.pixelwidth.CharacterWidthFunction
-
Gets the width for the given character(represented by its UTF-16 codepoint).
All Classes All Packages