Class Path

java.lang.Object
armyc2.c5isr.web.render.utilities.Path

public class Path extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dashedLineTo(double x, double y)
    Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified
     
    void
    lineTo(double x, double y)
    Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified
    void
    moveTo(double x, double y)
    Adds a point to the path by moving to the specified coordinates specified
    void
    setLineDash(float[] dashArray)
     
    toSVGElement(String stroke, int strokeWidth, String fill, double strokeOpacity, double fillOpacity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Path

      public Path()
  • Method Details

    • setLineDash

      public void setLineDash(float[] dashArray)
    • getBounds

    • moveTo

      public void moveTo(double x, double y)
      Adds a point to the path by moving to the specified coordinates specified
      Parameters:
      x -
      y -
    • lineTo

      public void lineTo(double x, double y)
      Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified
      Parameters:
      x -
      y -
    • dashedLineTo

      public void dashedLineTo(double x, double y)
      Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified
      Parameters:
      x -
      y -
    • toSVGElement

      public String toSVGElement(String stroke, int strokeWidth, String fill, double strokeOpacity, double fillOpacity)