public ExtendedFontColourUnicodeCharacters(ExtendedFontColours colour) { specialUnicode = new SpecialUnicodeCharacters(SpecialCharacters.ChangeColourExtended, GetBytes()); ByteStream = specialUnicode.ByteStream; Unicode = 0xFF; ExtraBytes = 4; IsFormattingChar = true; this.colour = colour; }
public ExtendedFontColourUnicodeCharacters(byte[] colour) { specialUnicode = new SpecialUnicodeCharacters(SpecialCharacters.ChangeColourExtended, colour); ByteStream = specialUnicode.ByteStream; Unicode = 0xFF; ExtraBytes = 4; IsFormattingChar = true; this.colour = ExtendedFontColours.Custom; }
public FontColourUnicodeCharacters(FontColours colour) { specialUnicode = new SpecialUnicodeCharacters(SpecialCharacters.ChangeColour, (byte)colour); ByteStream = specialUnicode.ByteStream; Unicode = 0xFF; ExtraBytes = 1; // might need to use specialUnicode.ExtraBytes unsure IsFormattingChar = true; this.colour = colour; }