Class Radius


  • public final class Radius
    extends Object
    Contains the radius of inner and outer of an arc.
    Used inside the canvas object factory.
    Author:
    Andrea "Stock" Stocchero
    See Also:
    CanvasObjectFactory
    • Constructor Detail

      • Radius

        public Radius()
    • Method Detail

      • getInner

        public double getInner()
        Returns the inner radius of arc.
        Returns:
        the inner radius of arc
      • setInner

        public void setInner​(double inner)
        Sets the inner radius of arc.
        Parameters:
        inner - the inner radius of arc
      • getOuter

        public double getOuter()
        Returns the outer radius if an arc.
        Returns:
        the outer radius if an arc
      • setOuter

        public void setOuter​(double outer)
        Sets the outer radius if an arc.
        Parameters:
        outer - the outer radius if an arc to set