org.extex.font.format.xtf.tables.cff
Class T2Flex1

java.lang.Object
  extended by org.extex.font.format.xtf.tables.cff.T2CharString
      extended by org.extex.font.format.xtf.tables.cff.T2Operator
          extended by org.extex.font.format.xtf.tables.cff.T2PathConstruction
              extended by org.extex.font.format.xtf.tables.cff.T2Flex1
All Implemented Interfaces:
XMLWriterConvertible

public class T2Flex1
extends T2PathConstruction

flex1: dx1 dy1 dx2 dy2 dx3 dy3 dx4 dy4 dx5 dy5 d6 flex1 (12 37).

Version:
$Revision: 7274 $
Author:
Michael Niedermair

Field Summary
 
Fields inherited from class org.extex.font.format.xtf.tables.cff.T2CharString
ESCAPE, ESCAPE_BYTE, T2CALLGSUBR, T2CALLSUBR, T2CNTRMASK, T2ENDCHAR, T2FLEX, T2FLEX1, T2HFLEX, T2HFLEX1, T2HHCURVETO, T2HINTMASK, T2HLINETO, T2HMOVETO, T2HSTEM, T2HSTEMHM, T2HVCURVETO, T2RCURVELINE, T2RETURN, T2RLINECURVE, T2RLINETO, T2RMOVETO, T2RRCURVETO, T2VHCURVETO, T2VLINETO, T2VMOVETO, T2VSTEM, T2VSTEMHM, T2VVCURVETO, TYPE_CALLGSUBR, TYPE_CALLSUBR, TYPE_CNTRMASK, TYPE_ENDCHAR, TYPE_FLEX, TYPE_FLEX1, TYPE_HFLEX, TYPE_HFLEX1, TYPE_HHCURVETO, TYPE_HINTMASK, TYPE_HLINETO, TYPE_HMOVETO, TYPE_HSTEM, TYPE_HSTEMHM, TYPE_HVCURVETO, TYPE_RCURVELINE, TYPE_RETURN, TYPE_RLINECURVE, TYPE_RLINETO, TYPE_RMOVETO, TYPE_RRCURVETO, TYPE_VHCURVETO, TYPE_VLINETO, TYPE_VMOVETO, TYPE_VSTEM, TYPE_VSTEMHM, TYPE_VVCURVETO
 
Constructor Summary
T2Flex1(java.util.List<T2CharString> stack, CharString ch)
          Create a new object.
 
Method Summary
 T2Number getD6()
          Getter for d6.
 T2Number getDx1()
          Getter for dx1.
 T2Number getDx2()
          Getter for dx2.
 T2Number getDx3()
          Getter for dx3.
 T2Number getDx4()
          Getter for dx4.
 T2Number getDx5()
          Getter for dx5.
 T2Number getDy1()
          Getter for dy1.
 T2Number getDy2()
          Getter for dy2.
 T2Number getDy3()
          Getter for dy3.
 T2Number getDy4()
          Getter for dy4.
 T2Number getDy5()
          Getter for dy5.
 int getID()
          Returns the id of the operator.
 java.lang.String getName()
          Return the name of the operator.
 java.lang.Object getValue()
          Returns the value of the operator.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class org.extex.font.format.xtf.tables.cff.T2PathConstruction
getBytes
 
Methods inherited from class org.extex.font.format.xtf.tables.cff.T2Operator
checkWidth, convertStackaddID, init, isOperator, newInstance, toString, toText
 
Methods inherited from class org.extex.font.format.xtf.tables.cff.T2CharString
getInitPrio, isArray, isBoolean, isDouble, isEscape, isInteger, isTopDICTOperator, readNumber, readNumber, readSID, readTopDICTOperator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

T2Flex1

public T2Flex1(java.util.List<T2CharString> stack,
               CharString ch)
        throws java.io.IOException
Create a new object.

Parameters:
ch - The char string.
stack - The stack.
Throws:
java.io.IOException - in case of an error
Method Detail

getD6

public T2Number getD6()
Getter for d6.

Returns:
the d6

getDx1

public T2Number getDx1()
Getter for dx1.

Returns:
the dx1

getDx2

public T2Number getDx2()
Getter for dx2.

Returns:
the dx2

getDx3

public T2Number getDx3()
Getter for dx3.

Returns:
the dx3

getDx4

public T2Number getDx4()
Getter for dx4.

Returns:
the dx4

getDx5

public T2Number getDx5()
Getter for dx5.

Returns:
the dx5

getDy1

public T2Number getDy1()
Getter for dy1.

Returns:
the dy1

getDy2

public T2Number getDy2()
Getter for dy2.

Returns:
the dy2

getDy3

public T2Number getDy3()
Getter for dy3.

Returns:
the dy3

getDy4

public T2Number getDy4()
Getter for dy4.

Returns:
the dy4

getDy5

public T2Number getDy5()
Getter for dy5.

Returns:
the dy5

getID

public int getID()
Returns the id of the operator.

Specified by:
getID in class T2Operator
Returns:
Returns the id of the operator.
See Also:
T2Operator.getID()

getName

public java.lang.String getName()
Return the name of the operator.

Specified by:
getName in class T2Operator
Returns:
Return the name of the operator.
See Also:
T2Operator.getName()

getValue

public java.lang.Object getValue()
Returns the value of the operator.

Specified by:
getValue in class T2Operator
Returns:
Returns the value of the operator.
See Also:
T2Operator.getValue()

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Write the data to a XMLStreamWriter.

Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML( org.extex.util.xml.XMLStreamWriter)