Class Subpath


  • public class Subpath
    extends java.lang.Object
    Represents a subpath created by Photoshop:
    • Closed Bezier knot, linked
    • Closed Bezier knot, unlinked
    • Open Bezier knot, linked
    • Open Bezier knot, unlinked
    • Constructor Summary

      Constructors 
      Constructor Description
      Subpath()  
      Subpath​(java.lang.String type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Knot knot)
      Appends a knot (set of 3 points) into the list
      java.lang.Iterable<Knot> getKnots()  
      java.lang.String getType()  
      int size()
      Gets size of knots list
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Subpath

        public Subpath()
      • Subpath

        public Subpath​(java.lang.String type)
    • Method Detail

      • add

        public void add​(Knot knot)
        Appends a knot (set of 3 points) into the list
      • size

        public int size()
        Gets size of knots list
        Returns:
        size of knots ArrayList
      • getKnots

        public java.lang.Iterable<Knot> getKnots()
      • getType

        public java.lang.String getType()