Interface PathCommand

All Known Subinterfaces:
ArcToCommandIf, ClosePathCommandIf, CurveToCommandIf, LineToCommandIf, MoveToCommandIf, QuadToCommandIf
All Known Implementing Classes:
ArcToCommand, ClosePathCommand, CurveToCommand, LineToCommand, MoveToCommand, QuadToCommand

public interface PathCommand
A path command in DrawingML. One of:
  • arcTo
  • moveTo
  • lineTo
  • cubicBezTo
  • quadBezTo
  • close
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute the command an append a segment to the specified path
  • Method Details

    • execute

      void execute(Path2D.Double path, Context ctx)
      Execute the command an append a segment to the specified path
      Parameters:
      path - the path to append the result to
      ctx - the context to lookup variables