Class Path.PickablePositions

  • Enclosing class:
    Path

    protected static class Path.PickablePositions
    extends java.lang.Object
    PickablePositions associates a range of pick color codes with a Path. The color codes represent the range of pick colors that the Path's position points are drawn in. The color codes represent ARGB colors packed into a 32-bit integer.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int maxColorCode
      The maximum color code, inclusive.
      int minColorCode
      The minimum color code, inclusive.
      Path path
      The Path who's position points are associated with the specified color code range.
    • Constructor Summary

      Constructors 
      Constructor Description
      PickablePositions​(int minColorCode, int maxColorCode, Path path)
      Creates a new PickablePositions with the specified color code range and Path.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • minColorCode

        public final int minColorCode
        The minimum color code, inclusive.
      • maxColorCode

        public final int maxColorCode
        The maximum color code, inclusive.
      • path

        public final Path path
        The Path who's position points are associated with the specified color code range.
    • Constructor Detail

      • PickablePositions

        public PickablePositions​(int minColorCode,
                                 int maxColorCode,
                                 Path path)
        Creates a new PickablePositions with the specified color code range and Path. See the PickablePositions class-level documentation for more information.
        Parameters:
        minColorCode - the minimum color code, inclusive.
        maxColorCode - the maximum color code, inclusive.
        path - the Path who's position points are associated with the specified color code range.