public final class ArcBorderRadius extends NativeObjectContainer
Modifier and Type | Class and Description |
---|---|
static class |
ArcBorderRadius.ArcBorderRadiusFactory
Inner class to create arc border radius object by a native object.
|
Modifier and Type | Field and Description |
---|---|
static ArcBorderRadius.ArcBorderRadiusFactory |
FACTORY
Public factory to create a border radius object from a native object.
|
Constructor and Description |
---|
ArcBorderRadius()
Creates the object with an empty native object instance.
|
ArcBorderRadius(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 |
getInnerEnd()
Returns the border radius for inner-end corner of the arc, in pixel.
|
int |
getInnerStart()
Returns the border radius for inner-start corner of the arc, in pixel.
|
int |
getOuterEnd()
Returns the border radius for outer-end corner of the arc, in pixel.
|
int |
getOuterStart()
Returns the border radius for outer-start corner of the arc, 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 |
setInnerEnd(int borderRadius)
Sets the border radius for inner-end corner of the arc, in pixel.
|
void |
setInnerStart(int borderRadius)
Sets the border radius for inner-start corner of the arc, in pixel.
|
void |
setOuterEnd(int borderRadius)
Sets the border radius for outer-end corner of the arc, in pixel.
|
void |
setOuterStart(int borderRadius)
Sets the border radius for outer-start corner of the arc, 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 ArcBorderRadius.ArcBorderRadiusFactory FACTORY
public ArcBorderRadius()
public ArcBorderRadius(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 setOuterStart(int borderRadius)
borderRadius
- the border radius for outer-start corner of the arc, in pixelpublic int getOuterStart()
public void setOuterEnd(int borderRadius)
borderRadius
- the border radius for outer-end corner of the arc, in pixelpublic int getOuterEnd()
public void setInnerStart(int borderRadius)
borderRadius
- the border radius for inner-start corner of the arc, in pixelpublic int getInnerStart()
public void setInnerEnd(int borderRadius)
borderRadius
- the border radius for inner-end corner of the arc, in pixelpublic int getInnerEnd()
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()