Class AdobePathSegment

    • Field Detail

      • CLOSED_SUBPATH_LENGTH_RECORD

        static final int CLOSED_SUBPATH_LENGTH_RECORD
        See Also:
        Constant Field Values
      • CLOSED_SUBPATH_BEZIER_LINKED

        static final int CLOSED_SUBPATH_BEZIER_LINKED
        See Also:
        Constant Field Values
      • CLOSED_SUBPATH_BEZIER_UNLINKED

        static final int CLOSED_SUBPATH_BEZIER_UNLINKED
        See Also:
        Constant Field Values
      • OPEN_SUBPATH_LENGTH_RECORD

        static final int OPEN_SUBPATH_LENGTH_RECORD
        See Also:
        Constant Field Values
      • OPEN_SUBPATH_BEZIER_LINKED

        static final int OPEN_SUBPATH_BEZIER_LINKED
        See Also:
        Constant Field Values
      • OPEN_SUBPATH_BEZIER_UNLINKED

        static final int OPEN_SUBPATH_BEZIER_UNLINKED
        See Also:
        Constant Field Values
      • SELECTOR_NAMES

        static final java.lang.String[] SELECTOR_NAMES
      • selector

        final int selector
      • lengthOrRule

        final int lengthOrRule
      • cppy

        final double cppy
      • cppx

        final double cppx
      • apy

        final double apy
      • apx

        final double apx
      • cply

        final double cply
      • cplx

        final double cplx
    • Constructor Detail

      • AdobePathSegment

        AdobePathSegment​(int selector,
                         double cppy,
                         double cppx,
                         double apy,
                         double apx,
                         double cply,
                         double cplx)
      • AdobePathSegment

        AdobePathSegment​(int selector,
                         int lengthOrRule)
      • AdobePathSegment

        private AdobePathSegment​(int selector,
                                 int lengthOrRule,
                                 double cppy,
                                 double cppx,
                                 double apy,
                                 double apx,
                                 double cply,
                                 double cplx)
    • Method Detail

      • toFixedPoint

        static int toFixedPoint​(double value)
      • fromFixedPoint

        static double fromFixedPoint​(int fixed)
      • equals

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

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

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