public final class BarBorderRadius extends NativeObjectContainer
Modifier and Type | Class and Description |
---|---|
static class |
BarBorderRadius.BarBorderRadiusFactory
Inner class to create bar border radius object by a native object.
|
Modifier and Type | Field and Description |
---|---|
static BarBorderRadius.BarBorderRadiusFactory |
FACTORY
Public factory to create a border radius object from a native object.
|
Constructor and Description |
---|
BarBorderRadius()
Creates the object with an empty native object instance.
|
BarBorderRadius(int borderRadius)
Creates the object using the argument to set the border radius size to all corners of the rectangle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areValuesEquals()
Returns
true if all values of object are equals. |
int |
average()
Returns the average value of all values managed by object.
|
int |
getBottomLeft()
Returns the border radius for bottom-left corner of the rectangle, in pixel.
|
int |
getBottomRight()
Returns the border radius for bottom-right corner of the rectangle, in pixel.
|
int |
getTopLeft()
Returns the border radius for top-left corner of the rectangle, in pixel.
|
int |
getTopRight()
Returns the border radius for top-right corner of the rectangle, in pixel.
|
NativeObject |
nativeObject()
Returns the native object instance.
|
void |
set(int borderRadius)
Sets the border radius size to all corners of the rectangle.
|
void |
setBottomLeft(int borderRadius)
Sets the border radius for bottom-left corner of the rectangle, in pixel.
|
void |
setBottomRight(int borderRadius)
Sets the border radius for bottom-right corner of the rectangle, in pixel.
|
void |
setTopLeft(int borderRadius)
Sets the border radius for top-left corner of the rectangle, in pixel.
|
void |
setTopRight(int borderRadius)
Sets the border radius for top-right corner of the rectangle, in pixel.
|
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final BarBorderRadius.BarBorderRadiusFactory FACTORY
public BarBorderRadius()
public BarBorderRadius(int borderRadius)
borderRadius
- border radius to apply to all corners of the rectangle.public void set(int borderRadius)
borderRadius
- border radius to apply to all corners of the rectangle.public void setTopLeft(int borderRadius)
borderRadius
- the border radius for top-left corner of the rectangle, in pixelpublic int getTopLeft()
public void setTopRight(int borderRadius)
borderRadius
- the border radius for top-right corner of the rectangle, in pixelpublic int getTopRight()
public void setBottomLeft(int borderRadius)
borderRadius
- the border radius for bottom-left corner of the rectangle, in pixelpublic int getBottomLeft()
public void setBottomRight(int borderRadius)
borderRadius
- the border radius for bottom-right corner of the rectangle, in pixelpublic int getBottomRight()
public final boolean areValuesEquals()
true
if all values of object are equals.true
if all values of object are equalspublic final int average()
public final NativeObject nativeObject()