Package org.docx4j.fonts.fop.fonts.type1
Class AFMWritingDirectionMetrics
java.lang.Object
org.docx4j.fonts.fop.fonts.type1.AFMWritingDirectionMetrics
public class AFMWritingDirectionMetrics
extends java.lang.Object
Represents a writing direction metrics section from an AFM file.
-
Constructor Summary
Constructors Constructor Description AFMWritingDirectionMetrics() -
Method Summary
Modifier and Type Method Description doublegetItalicAngle()Returns the ItalicAngle value.java.lang.NumbergetUnderlinePosition()Returns the UnderlinePosition value.java.lang.NumbergetUnderlineThickness()Returns the UnderlineThickness value.booleanisFixedPitch()Returns the IsFixedPitch value.voidsetFixedPitch(boolean value)Set the IsFixedPitch value.voidsetItalicAngle(double italicAngle)Sets the ItalicAngle value.voidsetUnderlinePosition(java.lang.Number underlinePosition)Sets the UnderlinePosition value.voidsetUnderlineThickness(java.lang.Number underlineThickness)Sets the UnderlineThickness value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AFMWritingDirectionMetrics
public AFMWritingDirectionMetrics()
-
-
Method Details
-
getUnderlinePosition
public java.lang.Number getUnderlinePosition()Returns the UnderlinePosition value.- Returns:
- the underlinePosition
-
setUnderlinePosition
public void setUnderlinePosition(java.lang.Number underlinePosition)Sets the UnderlinePosition value.- Parameters:
underlinePosition- the underlinePosition to set
-
getUnderlineThickness
public java.lang.Number getUnderlineThickness()Returns the UnderlineThickness value.- Returns:
- the underlineThickness
-
setUnderlineThickness
public void setUnderlineThickness(java.lang.Number underlineThickness)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
-