Package com.io7m.jptbox.core
Class JPTextBoxLightMaps
java.lang.Object
com.io7m.jptbox.core.JPTextBoxLightMaps
Maps used to merge characters when drawing boxes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from └static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┘static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┼static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ─static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┬static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┤static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ├static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┴static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┌static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from ┐static final it.unimi.dsi.fastutil.ints.Int2IntMapMappings from │ -
Method Summary
Modifier and TypeMethodDescriptionstatic intmergeCharacter(int existing_char, int new_char) Merge the new character with the existing character.
-
Field Details
-
EXISTS_TOP_RIGHT_CORNER
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_TOP_RIGHT_CORNERMappings from ┐ -
EXISTS_TOP_LEFT_CORNER
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_TOP_LEFT_CORNERMappings from ┌ -
EXISTS_BOTTOM_LEFT_CORNER
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_BOTTOM_LEFT_CORNERMappings from └ -
EXISTS_BOTTOM_RIGHT_CORNER
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_BOTTOM_RIGHT_CORNERMappings from ┘ -
EXISTS_HORIZONTAL
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_HORIZONTALMappings from ─ -
EXISTS_VERTICAL
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_VERTICALMappings from │ -
EXISTS_CROSS
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_CROSSMappings from ┼ -
EXISTS_JUNCTION_LEFT
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_JUNCTION_LEFTMappings from ┤ -
EXISTS_JUNCTION_RIGHT
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_JUNCTION_RIGHTMappings from ├ -
EXISTS_JUNCTION_DOWN
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_JUNCTION_DOWNMappings from ┬ -
EXISTS_JUNCTION_UP
public static final it.unimi.dsi.fastutil.ints.Int2IntMap EXISTS_JUNCTION_UPMappings from ┴
-
-
Method Details
-
mergeCharacter
public static int mergeCharacter(int existing_char, int new_char) Merge the new character with the existing character.- Parameters:
existing_char- The existing characternew_char- The new character- Returns:
- A character representing the merge
-