public static class GlyphPositioningTable.DeviceTable
extends java.lang.Object
DeviceTable
class implements a positioning device table record, comprising
adjustments to be made to scaled design units according to the scaled size.Constructor and Description |
---|
DeviceTable(int startSize,
int endSize,
int[] deltas)
Instantiate a DeviceTable.
|
Modifier and Type | Method and Description |
---|---|
int |
findAdjustment(int fontSize)
Find device adjustment.
|
int[] |
getDeltas() |
int |
getEndSize() |
int |
getStartSize() |
java.lang.String |
toString() |
public DeviceTable(int startSize, int endSize, int[] deltas)
startSize
- theendSize
- the ending (scaled) sizedeltas
- adjustments for each scaled sizepublic int getStartSize()
public int getEndSize()
public int[] getDeltas()
public int findAdjustment(int fontSize)
fontSize
- the font size to search forpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.