Class Center

    • Field Detail

      • m_Diameter

        protected int m_Diameter
        the diameter of the circle.
    • Constructor Detail

      • Center

        public Center()
    • Method Detail

      • setDiameter

        public void setDiameter​(int value)
        Sets the diameter to use for drawing the circle (if < 1 to draw an ellipse using the rectangle's dimensions).
        Parameters:
        value - the diameter, < 1 if using the rectangle's dimensions
      • getDiameter

        public int getDiameter()
        Returns the diameter to use for drawing the circle (if < 1 to draw an ellipse using the rectangle's dimensions).
        Returns:
        the diameter, < 1 if using the rectangle's dimensions
      • diameterTipText

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