UnihexGlyphs

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun createArgbRaster(width: Int, glyph: @NotNull Array<Int>, leftBorder: Int, rightBorder: Int, argb1: Int, argb0: Int): Array<Int>
Creates an argb raster from of glyph.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
open fun findHorizontalBorders(glyph: @NotNull Array<Int>): @Nullable Array<Int>
Finds the first and last non-empty glyph in a glyph.
Link copied to clipboard
open fun findVerticalBorders(width: Int, glyph: @NotNull Array<Int>): @Nullable Array<Int>
Finds the first and last non-empty columns in a glyph.
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun merge(@NotNull other: @NotNull UnihexGlyphs)
Merges all glyphs from another UnihexGlyphs into this one.
Link copied to clipboard
open fun read16(bin: @NotNull Array<Byte>): @NotNull Array<Int>
Reads a 16x16 glyph from a byte array of length 64, where each byte is a hex digit.
Link copied to clipboard
open fun read24(bin: @NotNull Array<Byte>): @NotNull Array<Int>
Reads a 24x16 glyph from a byte array of length 96, where each byte is a hex digit.
Link copied to clipboard
open fun read32(bin: @NotNull Array<Byte>): @NotNull Array<Int>
Reads a 32x16 glyph from a byte array of length 128, where each byte is a hex digit.
Link copied to clipboard
open fun read8(bin: @NotNull Array<Byte>): @NotNull Array<Int>
Reads a 8x16 glyph from a byte array of length 32, where each byte is a hex digit.
Link copied to clipboard
@NotNull
open fun readUnihexFile(bin: @NotNull Array<Byte>): @NotNull UnihexGlyphs
Reads a unihex file from a byte array.
@NotNull
open fun readUnihexFile(@NotNull in: @NotNull InputStream): @NotNull UnihexGlyphs
Reads a unihex file from an InputStream.
@NotNull
open fun readUnihexFile(@NotNull path: @NotNull Path): @NotNull UnihexGlyphs
Reads a unihex file from a Path.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
open fun write16(@NotNull out: @NotNull OutputStream, glyph: @NotNull Array<Int>)
Writes a 16x16 glyph to an output stream.
Link copied to clipboard
open fun write24(@NotNull out: @NotNull OutputStream, glyph: @NotNull Array<Int>)
Writes a 24x16 glyph to an output stream.
Link copied to clipboard
open fun write32(@NotNull out: @NotNull OutputStream, glyph: @NotNull Array<Int>)
Writes a 32x16 glyph to an output stream.
Link copied to clipboard
open fun write8(@NotNull out: @NotNull OutputStream, glyph: @NotNull Array<Int>)
Writes a 8x16 glyph to an output stream.
Link copied to clipboard
open fun writeCodePoint(@NotNull out: @NotNull OutputStream, codePoint: Int)
Writes a code point in unihex format to an output stream.
Link copied to clipboard
open fun writeUnihexFile(): @NotNull Array<Byte>
Writes these unihex glyphs to a byte array.
open fun writeUnihexFile(@NotNull out: @NotNull OutputStream)
Writes these unihex glyphs to an OutputStream.
open fun writeUnihexFile(@NotNull path: @NotNull Path)
Writes these unihex glyphs to a Path.