Added unicode split mode enum

This commit is contained in:
Willem Cazander 2022-02-18 01:00:57 +01:00
parent e1f67db17c
commit 528e6b4905
2 changed files with 38 additions and 2 deletions

View file

@ -48,6 +48,10 @@ public final class V018Tord implements BaseNumberTyte<V018Tord> {
return getValue(part.splitPartBinary()).getValue(part.splitPartTrit()); return getValue(part.splitPartBinary()).getValue(part.splitPartTrit());
} }
public void setTimblePart(T06PartSeximal part, T08PartOctal value) {
getValue(part.splitPartBinary()).setValue(part.splitPartTrit(), value);
}
@Override @Override
public int getBitCount() { public int getBitCount() {
return BIT_COUNT; return BIT_COUNT;

View file

@ -10,13 +10,45 @@ public class CodePointᶻᴰ {
this.value = value; this.value = value;
} }
enum TegerSplitMode {
NOP,
UNICODE, // + direction
ADVANCE,
XY_SET,
XY_MIN,
XY_MAX,
NUMBER,
MOD_COLOR, // color = 4b+2b + mod 2x2b darker
// MODIFIER;
// STRIKE_HIGH,
// STRIKE_MID,
// STRIKE_LOW,
// STRIKE_UNDER,
// ITALIC_LR,
// ITALIC_RL,
// SCRIPT_TOP,
// SCRIPT_SUB,
// INVISIBLE
FREE_B4, // envelop
FREE_B3,
FREE_B2,
FREE_B1,
FREE_A4,
FREE_A3,
FREE_A2,
FREE_A1,
}
/** /**
* 72 bits (8x tyte) * 72 bits (8x tyte)
* *
* *
* point: x+y of 4 digits + sign + boolean * V036Teger is point: x+y of 4 digits + sign + boolean
* x=2xtyte=tord=18bit * x=2xtyte=tord=18bit
* y=tord-3=14b + sign + boolean + seq/end + mode * y=tord-3=15b + mode
* *
* V072Tong - 0 * V072Tong - 0
* cmd0 unicode="011000" * cmd0 unicode="011000"