org.gnu.pango
Class Coverage
It is often necessary in Pango to determine if a particular font can
represent a particular character, and also how well it can represent that
character. The PangoCoverage is a data structure that is used to represent
that information.
Coverage() - Create a new Coverage
|
Coverage(Coverage coverage) - Create a new Coverage that is a copy of the provided Coverage.
|
static Coverage | fromBytes(byte[] ary)
|
CoverageLevel | get(int index) - Determine whether a particular index is covered by coverage.
|
void | set(int index, CoverageLevel level) - Modify a particular index within coverage.
|
void | setMax(Coverage other) - Set the coverage for each index in coverage to be the max (better) value
of the current coverage for the index and the coverage for the
corresponding index in other.
|
byte[] | toBytes()
|
Coverage
public Coverage()
Create a new Coverage
Coverage
public Coverage(Coverage coverage)
Create a new Coverage that is a copy of the provided Coverage.
fromBytes
public static Coverage fromBytes(byte[] ary)
get
public CoverageLevel get(int index)
Determine whether a particular index is covered by coverage.
set
public void set(int index,
CoverageLevel level)
Modify a particular index within coverage.
setMax
public void setMax(Coverage other)
Set the coverage for each index in coverage to be the max (better) value
of the current coverage for the index and the coverage for the
corresponding index in other.
toBytes
public byte[] toBytes()