Class PathSegment


  • public class PathSegment
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PathSegment()  
      PathSegment​(float x0, float y0, float x1, float y1, boolean isCloseLine, boolean isClosedContour)  
      PathSegment​(float x0, float y0, float x1, float y1, float x2, float y2, boolean isClosedContour)  
      PathSegment​(float x0, float y0, float x1, float y1, float x2, float y2, float conicWeight, boolean isClosedContour)  
      PathSegment​(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, boolean isClosedContour)  
      PathSegment​(int verbOrdinal, float x0, float y0, boolean isClosedContour)  
      PathSegment​(PathVerb verb, io.github.humbleui.types.Point p0, io.github.humbleui.types.Point p1, io.github.humbleui.types.Point p2, io.github.humbleui.types.Point p3, float conicWeight, boolean closeLine, boolean closedContour)  
    • Field Detail

      • _p0

        public final io.github.humbleui.types.Point _p0
      • _p1

        public final io.github.humbleui.types.Point _p1
      • _p2

        public final io.github.humbleui.types.Point _p2
      • _p3

        public final io.github.humbleui.types.Point _p3
      • _conicWeight

        public final float _conicWeight
      • _closeLine

        public final boolean _closeLine
      • _closedContour

        public final boolean _closedContour
    • Constructor Detail

      • PathSegment

        public PathSegment()
      • PathSegment

        public PathSegment​(int verbOrdinal,
                           float x0,
                           float y0,
                           boolean isClosedContour)
      • PathSegment

        public PathSegment​(float x0,
                           float y0,
                           float x1,
                           float y1,
                           boolean isCloseLine,
                           boolean isClosedContour)
      • PathSegment

        public PathSegment​(float x0,
                           float y0,
                           float x1,
                           float y1,
                           float x2,
                           float y2,
                           boolean isClosedContour)
      • PathSegment

        public PathSegment​(float x0,
                           float y0,
                           float x1,
                           float y1,
                           float x2,
                           float y2,
                           float conicWeight,
                           boolean isClosedContour)
      • PathSegment

        public PathSegment​(float x0,
                           float y0,
                           float x1,
                           float y1,
                           float x2,
                           float y2,
                           float x3,
                           float y3,
                           boolean isClosedContour)
      • PathSegment

        public PathSegment​(PathVerb verb,
                           io.github.humbleui.types.Point p0,
                           io.github.humbleui.types.Point p1,
                           io.github.humbleui.types.Point p2,
                           io.github.humbleui.types.Point p3,
                           float conicWeight,
                           boolean closeLine,
                           boolean closedContour)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getP0

        public io.github.humbleui.types.Point getP0()
      • getP1

        public io.github.humbleui.types.Point getP1()
      • getP2

        public io.github.humbleui.types.Point getP2()
      • getP3

        public io.github.humbleui.types.Point getP3()
      • getConicWeight

        public float getConicWeight()
      • isCloseLine

        public boolean isCloseLine()
      • isClosedContour

        public boolean isClosedContour()