Package org.apache.fop.fonts.type1
Class AFMWritingDirectionMetrics
java.lang.Object
org.apache.fop.fonts.type1.AFMWritingDirectionMetrics
Represents a writing direction metrics section from an AFM file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the ItalicAngle value.Returns the UnderlinePosition value.Returns the UnderlineThickness value.boolean
Returns the IsFixedPitch value.void
setFixedPitch
(boolean value) Set the IsFixedPitch value.void
setItalicAngle
(double italicAngle) Sets the ItalicAngle value.void
setUnderlinePosition
(Number underlinePosition) Sets the UnderlinePosition value.void
setUnderlineThickness
(Number underlineThickness) Sets the UnderlineThickness value.
-
Constructor Details
-
AFMWritingDirectionMetrics
public AFMWritingDirectionMetrics()
-
-
Method Details
-
getUnderlinePosition
Returns the UnderlinePosition value.- Returns:
- the underlinePosition
-
setUnderlinePosition
Sets the UnderlinePosition value.- Parameters:
underlinePosition
- the underlinePosition to set
-
getUnderlineThickness
Returns the UnderlineThickness value.- Returns:
- the underlineThickness
-
setUnderlineThickness
Sets the UnderlineThickness value.- Parameters:
underlineThickness
- the underlineThickness to set
-
getItalicAngle
public double getItalicAngle()Returns the ItalicAngle value.- Returns:
- the italicAngle
-
setItalicAngle
public void setItalicAngle(double italicAngle) Sets the ItalicAngle value.- Parameters:
italicAngle
- the italicAngle to set
-
isFixedPitch
public boolean isFixedPitch()Returns the IsFixedPitch value.- Returns:
- the isFixedPitch
-
setFixedPitch
public void setFixedPitch(boolean value) Set the IsFixedPitch value.- Parameters:
value
- the isFixedPitch to set
-