Class NumberTick

    • Field Detail

      • number

        private java.lang.Number number
        The number.
    • Constructor Detail

      • NumberTick

        public NumberTick​(java.lang.Number number,
                          java.lang.String label,
                          TextAnchor textAnchor,
                          TextAnchor rotationAnchor,
                          double angle)
        Creates a new tick.
        Parameters:
        number - the number (null not permitted).
        label - the label.
        textAnchor - the part of the label that is aligned with the anchor point.
        rotationAnchor - defines the rotation point relative to the text.
        angle - the rotation angle (in radians).
      • NumberTick

        public NumberTick​(TickType tickType,
                          double value,
                          java.lang.String label,
                          TextAnchor textAnchor,
                          TextAnchor rotationAnchor,
                          double angle)
        Creates a new tick.
        Parameters:
        tickType - the tick type.
        value - the value.
        label - the label.
        textAnchor - the part of the label that is aligned with the anchor point.
        rotationAnchor - defines the rotation point relative to the text.
        angle - the rotation angle (in radians).
    • Method Detail

      • getNumber

        public java.lang.Number getNumber()
        Returns the number.
        Returns:
        The number.