Class ArcBorderRadius


  • public final class ArcBorderRadius
    extends NativeObjectContainer
    Defines the border radius for ARC data set element, applies the corner radius to all corners of the arc (outerStart, outerEnd, innerStart, and innerEnd).
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • ArcBorderRadius

        public ArcBorderRadius()
        Creates the object with an empty native object instance.
      • ArcBorderRadius

        public ArcBorderRadius​(int borderRadius)
        Creates the object using the argument to set the border radius size to all corners of the rectangle.
        Parameters:
        borderRadius - border radius to apply to all corners of the rectangle.
    • Method Detail

      • set

        public void set​(int borderRadius)
        Sets the border radius size to all corners of the rectangle.
        Parameters:
        borderRadius - border radius to apply to all corners of the rectangle.
      • setOuterStart

        public void setOuterStart​(int borderRadius)
        Sets the border radius for outer-start corner of the arc, in pixel.
        Parameters:
        borderRadius - the border radius for outer-start corner of the arc, in pixel
      • getOuterStart

        public int getOuterStart()
        Returns the border radius for outer-start corner of the arc, in pixel.
        Returns:
        the border radius for outer-start corner of the arc, in pixel
      • setOuterEnd

        public void setOuterEnd​(int borderRadius)
        Sets the border radius for outer-end corner of the arc, in pixel.
        Parameters:
        borderRadius - the border radius for outer-end corner of the arc, in pixel
      • getOuterEnd

        public int getOuterEnd()
        Returns the border radius for outer-end corner of the arc, in pixel.
        Returns:
        the border radius for outer-end corner of the arc, in pixel
      • setInnerStart

        public void setInnerStart​(int borderRadius)
        Sets the border radius for inner-start corner of the arc, in pixel.
        Parameters:
        borderRadius - the border radius for inner-start corner of the arc, in pixel
      • getInnerStart

        public int getInnerStart()
        Returns the border radius for inner-start corner of the arc, in pixel.
        Returns:
        the border radius for inner-start corner of the arc, in pixel
      • setInnerEnd

        public void setInnerEnd​(int borderRadius)
        Sets the border radius for inner-end corner of the arc, in pixel.
        Parameters:
        borderRadius - the border radius for inner-end corner of the arc, in pixel
      • getInnerEnd

        public int getInnerEnd()
        Returns the border radius for inner-end corner of the arc, in pixel.
        Returns:
        the border radius for inner-end corner of the arc, in pixel
      • areValuesEquals

        public final boolean areValuesEquals()
        Returns true if all values of object are equals.
        Returns:
        true if all values of object are equals
      • average

        public final int average()
        Returns the average value of all values managed by object.
        Returns:
        the average value of all values managed by object
      • nativeObject

        public final NativeObject nativeObject()
        Returns the native object instance.
        Returns:
        the native object instance.