Class Jitter

    • Field Detail

      • m_Seed

        protected long m_Seed
        the seed.
      • m_Min

        protected int m_Min
        the minimum jitter in pixels.
      • m_Max

        protected int m_Max
        the maximum jitter in pixels.
      • m_Direction

        protected Jitter.Direction m_Direction
        the direction to apply the jitter to.
      • m_Random

        protected Random m_Random
        the random number generator.
      • m_Range

        protected int m_Range
        the range of the jitter.
    • Constructor Detail

      • Jitter

        public Jitter()
    • Method Detail

      • setSeed

        public void setSeed​(long value)
        Sets the seed value.
        Specified by:
        setSeed in interface Randomizable
        Parameters:
        value - the seed
      • getSeed

        public long getSeed()
        Returns the seed value.
        Specified by:
        getSeed in interface Randomizable
        Returns:
        the seed
      • seedTipText

        public String seedTipText()
        Returns the tip text for this property.
        Specified by:
        seedTipText in interface Randomizable
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setMin

        public void setMin​(int value)
        Sets the minimum jitter to apply.
        Parameters:
        value - the minimum
      • getMin

        public int getMin()
        Returns the minimum jitter to apply.
        Returns:
        the minimum
      • minTipText

        public String minTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setMax

        public void setMax​(int value)
        Sets the maximum jitter to apply.
        Parameters:
        value - the maximum
      • getMax

        public int getMax()
        Returns the maximum jitter to apply.
        Returns:
        the maximum
      • maxTipText

        public String maxTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setDirection

        public void setDirection​(Jitter.Direction value)
        Sets the direction of the jitter.
        Parameters:
        value - the direction
      • getDirection

        public Jitter.Direction getDirection()
        Returns the direction of the jitter.
        Returns:
        the direction
      • directionTipText

        public String directionTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.