| Modifier and Type | Field and Description |
|---|---|
| private float | afmVersion
This is the version of the FontMetrics. |
| private float | |
| private float | |
| private int | |
| private String | |
| private final List | |
| private final Map | |
| private float[] | |
| private final List | |
| private final List | |
| private float | |
| private String | |
| private int | |
| private String | |
| private BoundingBox | |
| private String | |
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private Boolean | |
| private float | |
| private final List | |
| private final List | |
| private final List | |
| private int | |
| private int | |
| private String | |
| private float | |
| private float | |
| private final List | |
| private float | |
| private float | |
| private float[] | |
| private String | |
| private float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | addComposite(Composite
The composite info to add. composite)This will add a single composite part to the picture. |
| public void | |
| public void | |
| public void | |
| public void | |
| public float | |
| public float | |
| public float | Returns: The width of the character.This will get the average width of a character. |
| public float | |
| public float | Returns: The width of the character.The character to get the width for. name)This will get the width of a character. |
| public int | |
| public String | |
| public float | Returns: The width of the character.The character to get the width for. name)This will get the width of a character. |
| public List | |
| public float[] | |
| public List | |
| public List | |
| public float | |
| public String | |
| public int | |
| public String | |
| public BoundingBox | |
| public String | |
| public String | |
| public String | |
| public boolean | |
| public boolean | |
| public boolean | |
| public float | |
| public List | |
| public List | |
| public List | |
| public int | |
| public int | |
| public String | |
| public float | Returns: Value of property standardHorizontalWidth.Getter for property standardHorizontalWidth. |
| public float | Returns: Value of property standardVerticalWidth.Getter for property standardVerticalWidth. |
| public List | |
| public float | Returns: Value of property underlinePosition.Getter for property underlinePosition. |
| public float | Returns: Value of property underlineThickness.Getter for property underlineThickness. |
| public float[] | |
| public String | |
| public float | |
| public void | setAFMVersion(float
The version of the document. afmVersionValue)This will set the version of the AFM document. |
| public void | |
| public void | |
| public void | |
| public void | setCharacterSet(String
New value of property characterSet. characterSetValue)Setter for property characterSet. |
| public void | |
| public void | |
| public void | setEncodingScheme(String
New value of property encodingScheme. encodingSchemeValue)Setter for property encodingScheme. |
| public void | |
| public void | setFamilyName(String
New value of property familyName. familyNameValue)Setter for property familyName. |
| public void | setFixedPitch(boolean
New value of property isFixedPitch. isFixedPitchValue)Setter for property isFixedPitch. |
| public void | |
| public void | |
| public void | setFontVersion(String
New value of property fontVersion. fontVersionValue)Setter for property fontVersion. |
| public void | |
| public void | setIsBaseFont(boolean
New value of property isBaseFont. isBaseFontValue)Setter for property isBaseFont. |
| public void | |
| public void | setItalicAngle(float
New value of property italicAngle. italicAngleValue)Setter for property italicAngle. |
| public void | setMappingScheme(int
New value of property mappingScheme. mappingSchemeValue)Setter for property mappingScheme. |
| public void | setMetricSets(int
The new metric sets attribute. metricSetsValue)This will set the metricSets attribute. |
| public void | |
| public void | setStandardHorizontalWidth(float
New value of property standardHorizontalWidth. standardHorizontalWidthValue)Setter for property standardHorizontalWidth. |
| public void | setStandardVerticalWidth(float
New value of property standardVerticalWidth. standardVerticalWidthValue)Setter for property standardVerticalWidth. |
| public void | setUnderlinePosition(float
New value of property underlinePosition. underlinePositionValue)Setter for property underlinePosition. |
| public void | setUnderlineThickness(float
New value of property underlineThickness. underlineThicknessValue)Setter for property underlineThickness. |
| public void | |
| public void | |
| public void |
| afmVersion | back to summary |
|---|---|
| private float afmVersion This is the version of the FontMetrics. | |
| ascender | back to summary |
|---|---|
| private float ascender | |
| capHeight | back to summary |
|---|---|
| private float capHeight | |
| characters | back to summary |
|---|---|
| private int characters | |
| characterSet | back to summary |
|---|---|
| private String characterSet | |
| charMetrics | back to summary |
|---|---|
| private final List<CharMetric> charMetrics | |
| charMetricsMap | back to summary |
|---|---|
| private final Map<String, CharMetric> charMetricsMap | |
| charWidth | back to summary |
|---|---|
| private float[] charWidth | |
| comments | back to summary |
|---|---|
| private final List<String> comments | |
| composites | back to summary |
|---|---|
| private final List<Composite> composites | |
| descender | back to summary |
|---|---|
| private float descender | |
| encodingScheme | back to summary |
|---|---|
| private String encodingScheme | |
| escChar | back to summary |
|---|---|
| private int escChar | |
| familyName | back to summary |
|---|---|
| private String familyName | |
| fontBBox | back to summary |
|---|---|
| private BoundingBox fontBBox | |
| fontName | back to summary |
|---|---|
| private String fontName | |
| fontVersion | back to summary |
|---|---|
| private String fontVersion | |
| fullName | back to summary |
|---|---|
| private String fullName | |
| isBaseFont | back to summary |
|---|---|
| private boolean isBaseFont | |
| isFixedPitch | back to summary |
|---|---|
| private boolean isFixedPitch | |
| isFixedV | back to summary |
|---|---|
| private Boolean isFixedV | |
| italicAngle | back to summary |
|---|---|
| private float italicAngle | |
| kernPairs | back to summary |
|---|---|
| private final List<KernPair> kernPairs | |
| kernPairs0 | back to summary |
|---|---|
| private final List<KernPair> kernPairs0 | |
| kernPairs1 | back to summary |
|---|---|
| private final List<KernPair> kernPairs1 | |
| mappingScheme | back to summary |
|---|---|
| private int mappingScheme | |
| metricSets | back to summary |
|---|---|
| private int metricSets | |
| notice | back to summary |
|---|---|
| private String notice | |
| standardHorizontalWidth | back to summary |
|---|---|
| private float standardHorizontalWidth | |
| standardVerticalWidth | back to summary |
|---|---|
| private float standardVerticalWidth | |
| trackKern | back to summary |
|---|---|
| private final List<TrackKern> trackKern | |
| underlinePosition | back to summary |
|---|---|
| private float underlinePosition | |
| underlineThickness | back to summary |
|---|---|
| private float underlineThickness | |
| vVector | back to summary |
|---|---|
| private float[] vVector | |
| weight | back to summary |
|---|---|
| private String weight | |
| xHeight | back to summary |
|---|---|
| private float xHeight | |
| FontMetrics | back to summary |
|---|---|
| public FontMetrics() Constructor. | |
| addCharMetric | back to summary |
|---|---|
| public void addCharMetric(CharMetric metric) This will add another character metric.
| |
| addComment | back to summary |
|---|---|
| public void addComment(String comment) This will add a new comment.
| |
| addComposite | back to summary |
|---|---|
| public void addComposite(Composite composite) This will add a single composite part to the picture.
| |
| addKernPair | back to summary |
|---|---|
| public void addKernPair(KernPair kernPair) This will add a kern pair.
| |
| addKernPair0 | back to summary |
|---|---|
| public void addKernPair0(KernPair kernPair) This will add a kern pair.
| |
| addKernPair1 | back to summary |
|---|---|
| public void addKernPair1(KernPair kernPair) This will add a kern pair.
| |
| addTrackKern | back to summary |
|---|---|
| public void addTrackKern(TrackKern kern) This will add another track kern.
| |
| getAFMVersion | back to summary |
|---|---|
| public float getAFMVersion() This will get the version of the AFM document.
| |
| getAscender | back to summary |
|---|---|
| public float getAscender() Getter for property ascender.
| |
| getAverageCharacterWidth | back to summary |
|---|---|
| public float getAverageCharacterWidth() This will get the average width of a character.
| |
| getCapHeight | back to summary |
|---|---|
| public float getCapHeight() Getter for property capHeight.
| |
| getCharacterHeight | back to summary |
|---|---|
| public float getCharacterHeight(String name) This will get the width of a character.
| |
| getCharacters | back to summary |
|---|---|
| public int getCharacters() Getter for property characters.
| |
| getCharacterSet | back to summary |
|---|---|
| public String getCharacterSet() Getter for property characterSet.
| |
| getCharacterWidth | back to summary |
|---|---|
| public float getCharacterWidth(String name) This will get the width of a character.
| |
| getCharMetrics | back to summary |
|---|---|
| public List Getter for property charMetrics.
| |
| getCharWidth | back to summary |
|---|---|
| public float[] getCharWidth() Getter for property charWidth.
| |
| getComments | back to summary |
|---|---|
| public List This will get all comments. | |
| getComposites | back to summary |
|---|---|
| public List Getter for property composites. | |
| getDescender | back to summary |
|---|---|
| public float getDescender() Getter for property descender.
| |
| getEncodingScheme | back to summary |
|---|---|
| public String getEncodingScheme() Getter for property encodingScheme.
| |
| getEscChar | back to summary |
|---|---|
| public int getEscChar() Getter for property escChar.
| |
| getFamilyName | back to summary |
|---|---|
| public String getFamilyName() Getter for property familyName.
| |
| getFontBBox | back to summary |
|---|---|
| public BoundingBox getFontBBox() Getter for property fontBBox.
| |
| getFontName | back to summary |
|---|---|
| public String getFontName() Getter for property fontName.
| |
| getFontVersion | back to summary |
|---|---|
| public String getFontVersion() Getter for property fontVersion.
| |
| getFullName | back to summary |
|---|---|
| public String getFullName() Getter for property fullName.
| |
| getIsBaseFont | back to summary |
|---|---|
| public boolean getIsBaseFont() Getter for property isBaseFont.
| |
| getIsFixedPitch | back to summary |
|---|---|
| public boolean getIsFixedPitch() Getter for property isFixedPitch.
| |
| getIsFixedV | back to summary |
|---|---|
| public boolean getIsFixedV() Getter for property isFixedV.
| |
| getItalicAngle | back to summary |
|---|---|
| public float getItalicAngle() Getter for property italicAngle.
| |
| getKernPairs | back to summary |
|---|---|
| public List Getter for property kernPairs. | |
| getKernPairs0 | back to summary |
|---|---|
| public List Getter for property kernPairs0. | |
| getKernPairs1 | back to summary |
|---|---|
| public List Getter for property kernPairs1. | |
| getMappingScheme | back to summary |
|---|---|
| public int getMappingScheme() Getter for property mappingScheme.
| |
| getMetricSets | back to summary |
|---|---|
| public int getMetricSets() This will get the metricSets attribute.
| |
| getNotice | back to summary |
|---|---|
| public String getNotice() Getter for property notice.
| |
| getStandardHorizontalWidth | back to summary |
|---|---|
| public float getStandardHorizontalWidth() Getter for property standardHorizontalWidth.
| |
| getStandardVerticalWidth | back to summary |
|---|---|
| public float getStandardVerticalWidth() Getter for property standardVerticalWidth.
| |
| getTrackKern | back to summary |
|---|---|
| public List Getter for property trackKern. | |
| getUnderlinePosition | back to summary |
|---|---|
| public float getUnderlinePosition() Getter for property underlinePosition.
| |
| getUnderlineThickness | back to summary |
|---|---|
| public float getUnderlineThickness() Getter for property underlineThickness.
| |
| getVVector | back to summary |
|---|---|
| public float[] getVVector() Getter for property vVector.
| |
| getWeight | back to summary |
|---|---|
| public String getWeight() Getter for property weight.
| |
| getXHeight | back to summary |
|---|---|
| public float getXHeight() Getter for property xHeight.
| |
| setAFMVersion | back to summary |
|---|---|
| public void setAFMVersion(float afmVersionValue) This will set the version of the AFM document.
| |
| setAscender | back to summary |
|---|---|
| public void setAscender(float ascenderValue) Setter for property ascender.
| |
| setCapHeight | back to summary |
|---|---|
| public void setCapHeight(float capHeightValue) Setter for property capHeight.
| |
| setCharacters | back to summary |
|---|---|
| public void setCharacters(int charactersValue) Setter for property characters.
| |
| setCharacterSet | back to summary |
|---|---|
| public void setCharacterSet(String characterSetValue) Setter for property characterSet.
| |
| setCharWidth | back to summary |
|---|---|
| public void setCharWidth(float[] charWidthValue) Setter for property charWidth.
| |
| setDescender | back to summary |
|---|---|
| public void setDescender(float descenderValue) Setter for property descender.
| |
| setEncodingScheme | back to summary |
|---|---|
| public void setEncodingScheme(String encodingSchemeValue) Setter for property encodingScheme.
| |
| setEscChar | back to summary |
|---|---|
| public void setEscChar(int escCharValue) Setter for property escChar.
| |
| setFamilyName | back to summary |
|---|---|
| public void setFamilyName(String familyNameValue) Setter for property familyName.
| |
| setFixedPitch | back to summary |
|---|---|
| public void setFixedPitch(boolean isFixedPitchValue) Setter for property isFixedPitch.
| |
| setFontBBox | back to summary |
|---|---|
| public void setFontBBox(BoundingBox bBox) Setter for property fontBBox.
| |
| setFontName | back to summary |
|---|---|
| public void setFontName(String name) Setter for property fontName.
| |
| setFontVersion | back to summary |
|---|---|
| public void setFontVersion(String fontVersionValue) Setter for property fontVersion.
| |
| setFullName | back to summary |
|---|---|
| public void setFullName(String fullNameValue) Setter for property fullName.
| |
| setIsBaseFont | back to summary |
|---|---|
| public void setIsBaseFont(boolean isBaseFontValue) Setter for property isBaseFont.
| |
| setIsFixedV | back to summary |
|---|---|
| public void setIsFixedV(boolean isFixedVValue) Setter for property isFixedV.
| |
| setItalicAngle | back to summary |
|---|---|
| public void setItalicAngle(float italicAngleValue) Setter for property italicAngle.
| |
| setMappingScheme | back to summary |
|---|---|
| public void setMappingScheme(int mappingSchemeValue) Setter for property mappingScheme.
| |
| setMetricSets | back to summary |
|---|---|
| public void setMetricSets(int metricSetsValue) This will set the metricSets attribute. This value must be 0,1, or 2.
| |
| setNotice | back to summary |
|---|---|
| public void setNotice(String noticeValue) Setter for property notice.
| |
| setStandardHorizontalWidth | back to summary |
|---|---|
| public void setStandardHorizontalWidth(float standardHorizontalWidthValue) Setter for property standardHorizontalWidth.
| |
| setStandardVerticalWidth | back to summary |
|---|---|
| public void setStandardVerticalWidth(float standardVerticalWidthValue) Setter for property standardVerticalWidth.
| |
| setUnderlinePosition | back to summary |
|---|---|
| public void setUnderlinePosition(float underlinePositionValue) Setter for property underlinePosition.
| |
| setUnderlineThickness | back to summary |
|---|---|
| public void setUnderlineThickness(float underlineThicknessValue) Setter for property underlineThickness.
| |
| setVVector | back to summary |
|---|---|
| public void setVVector(float[] vVectorValue) Setter for property vVector.
| |
| setWeight | back to summary |
|---|---|
| public void setWeight(String weightValue) Setter for property weight.
| |
| setXHeight | back to summary |
|---|---|
| public void setXHeight(float xHeightValue) Setter for property xHeight.
| |