Package limn.graphics

Interface Path2D.Visitor

Enclosing class:
Path2D

public static interface Path2D.Visitor
Receives a path as it was built: its moves, lines, curves and closes, in order and in the path's own coordinates. What a writer that keeps curves needs (a PDF page draws a curve as a curve), where Path2D.Flattened hands out lines.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    cubicTo(float c1x, float c1y, float c2x, float c2y, float x, float y)
     
    void
    lineTo(float x, float y)
     
    void
    moveTo(float x, float y)
     
    void
    quadTo(float cx, float cy, float x, float y)
     
  • Method Details

    • moveTo

      void moveTo(float x, float y)
    • lineTo

      void lineTo(float x, float y)
    • quadTo

      void quadTo(float cx, float cy, float x, float y)
    • cubicTo

      void cubicTo(float c1x, float c1y, float c2x, float c2y, float x, float y)
    • close

      void close()