TtfHmtxTable.LongHorMetric

Inheritance: java.lang.Object

public static class TtfHmtxTable.LongHorMetric

Represents metrics record.

Constructors

ConstructorDescription
LongHorMetric()

Methods

MethodDescription
getAdvanceWidth()Gets advance width value.
getLeftSideBearing()Gets left side bearing value.
clone()
equals(Object obj)
equals(TtfHmtxTable.LongHorMetric obj1, TtfHmtxTable.LongHorMetric obj2)

LongHorMetric()

public LongHorMetric()

getAdvanceWidth()

public int getAdvanceWidth()

Gets advance width value.

Returns: int - Advance width value.

getLeftSideBearing()

public short getLeftSideBearing()

Gets left side bearing value.

Returns: short - Left side bearing value.

clone()

public TtfHmtxTable.LongHorMetric clone()

Returns: LongHorMetric

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParameterTypeDescription
objjava.lang.Object

Returns: boolean

equals(TtfHmtxTable.LongHorMetric obj1, TtfHmtxTable.LongHorMetric obj2)

public static boolean equals(TtfHmtxTable.LongHorMetric obj1, TtfHmtxTable.LongHorMetric obj2)

Parameters:

ParameterTypeDescription
obj1LongHorMetric
obj2LongHorMetric

Returns: boolean