findHorizontalBorders

open fun findHorizontalBorders(glyph: @NotNull Array<Int>): @Nullable Array<Int>

Finds the first and last non-empty glyph in a glyph.

Return

An int array of length 2, where the first element is the index of the first non-empty line and the second element is the index of the last non-empty line. If the glyph is completely empty, null is returned.

Parameters

glyph

The glyph