public class CharstringEncoder extends QuadToCubicPathConstructor
| Constructor and Description | 
|---|
| CharstringEncoder(OutputStream out) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closePath(double x0,
         double y0)Closes the path by drawing a straight line to the last point which was
 argument to move. | 
| void | cubic(double x1,
     double y1,
     double x2,
     double y2,
     double x3,
     double y3)Draws a cubic bezier curve from the current point to (x3, y3) using the
 control points (x1, y1) and (x2, y2) and make (x3, y3) the current point. | 
| void | drawPath(Shape s) | 
| void | endchar() | 
| void | line(double x,
    double y)Draws a line from the current point to (x,y) and make (x,y) the current
 point. | 
| void | move(double x,
    double y)Makes (x,y) the current point. | 
| void | startChar(double sidebearing,
         double width) | 
| protected void | writeCommand(int com) | 
| protected void | writeExtCommand(int com) | 
quadpublic CharstringEncoder(OutputStream out)
protected void writeCommand(int com)
                     throws IOException
IOExceptionprotected void writeExtCommand(int com)
                        throws IOException
IOExceptionpublic void startChar(double sidebearing,
             double width)
               throws IOException
IOExceptionpublic void endchar()
             throws IOException
IOExceptionpublic void move(double x,
        double y)
          throws IOException
PathConstructormove in interface PathConstructormove in class QuadToCubicPathConstructorIOExceptionpublic void line(double x,
        double y)
          throws IOException
PathConstructorline in interface PathConstructorline in class QuadToCubicPathConstructorIOExceptionpublic void cubic(double x1,
         double y1,
         double x2,
         double y2,
         double x3,
         double y3)
           throws IOException
PathConstructorcubic in interface PathConstructorcubic in class QuadToCubicPathConstructorIOExceptionpublic void closePath(double x0,
             double y0)
               throws IOException
PathConstructorclosePath in interface PathConstructorclosePath in class QuadToCubicPathConstructorIOExceptionpublic void drawPath(Shape s) throws IOException
IOExceptionCopyright © 2014. All rights reserved.