C D H I L P S W 
All Classes All Packages

C

CharacterWidthFunction - Interface in solar.squares.pixelwidth
Deprecated.
for removal since 1.1.0, use CharacterWidthFunction instead
CharacterWidthFunction - Interface in solar.squares.pixelwidth.function
A function that takes a character(represented by its UTF-16 codepoint) and a Style and returns the characters width as an int.
ChatWidthFunction<CX> - Interface in solar.squares.pixelwidth.function
A function that takes some context and returns the chat width of that context.
chatWidthOf(CX) - Method in interface solar.squares.pixelwidth.function.ChatWidthFunction
Gets the chat width in the given context.
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 context CX.

D

DefaultCharacterWidthFunction - Class in solar.squares.pixelwidth
Generated with MinecraftFontPixelWidth.
DefaultCharacterWidthFunction() - Constructor for class solar.squares.pixelwidth.DefaultCharacterWidthFunction
 

H

handleMissing(int, Style) - Method in interface solar.squares.pixelwidth.function.CharacterWidthFunction
Should be called in CharacterWidthFunction.widthOf(int, Style) when a non-supported codepoint is given.

I

INSTANCE - Static variable in class solar.squares.pixelwidth.DefaultCharacterWidthFunction
 

L

log(Level, String) - Static method in class solar.squares.pixelwidth.Logging
Logging, should only be used internally.
logger(Logger) - Static method in class solar.squares.pixelwidth.Logging
Can be used to set the logger that will be used by this library.
Logging - Class in solar.squares.pixelwidth
Hack(?) to allow logging throughout the tools in different modules to use a common Logger.

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.
solar.squares.pixelwidth.function - package solar.squares.pixelwidth.function
Custom Function like classes that use native types.

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
Deprecated.
for removal since 1.1.0, use CharacterWidthFunction.widthOf(int, Style) instead
widthOf(int, Style) - Method in interface solar.squares.pixelwidth.function.CharacterWidthFunction
Gets the width for the given character(represented by its UTF-16 codepoint).
C D H I L P S W 
All Classes All Packages