public final class Clip extends NativeObjectContainer implements IsArea
false
, that means that CHART.JS will use chart area dimension.false
value, the properties will be:
ChartAreaNode
Constructor and Description |
---|
Clip()
Creates the object with an empty native object instance.
|
Clip(double clip)
Creates the object with the same clip value for all dimensions.
|
Modifier and Type | Method and Description |
---|---|
double |
getBottom()
Returns the clip bottom.
|
double |
getLeft()
Returns the clip left.
|
double |
getRight()
Returns the clip right.
|
double |
getTop()
Returns the clip top.
|
boolean |
isBottom()
Returns
false if the clip bottom has been set. |
boolean |
isLeft()
Returns
false if the clip left has been set. |
boolean |
isRight()
Returns
false if the clip right has been set. |
boolean |
isTop()
Returns
false if the clip top has been set. |
void |
set(double clip)
Sets the clip size to all dimensions.
|
void |
setBottom(boolean clip)
Sets the clip bottom.
|
void |
setBottom(double clip)
Sets the clip bottom.
|
void |
setLeft(boolean clip)
Sets the clip left.
|
void |
setLeft(double clip)
Sets the clip left.
|
void |
setRight(boolean clip)
Sets the clip right.
|
void |
setRight(double clip)
Sets the clip right.
|
void |
setTop(boolean clip)
Sets the clip top.
|
void |
setTop(double clip)
Sets the clip top.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHeight, getWidth, isConsistent
public Clip()
public Clip(double clip)
clip
- clip value for all dimensionspublic void set(double clip)
clip
- clip to apply to all dimensions.public void setLeft(double clip)
clip
- the clip left.public void setLeft(boolean clip)
clip
- the clip left.public double getLeft()
public boolean isLeft()
false
if the clip left has been set.false
if the clip left has been setpublic void setRight(double clip)
clip
- the clip right.public void setRight(boolean clip)
clip
- the clip right.public double getRight()
public boolean isRight()
false
if the clip right has been set.false
if the clip right has been setpublic void setTop(double clip)
clip
- the clip top.public void setTop(boolean clip)
clip
- the clip top.public double getTop()
public boolean isTop()
false
if the clip top has been set.false
if the clip top has been setpublic void setBottom(double clip)
clip
- the clip bottom.public void setBottom(boolean clip)
clip
- the clip bottom.public double getBottom()
public boolean isBottom()
false
if the clip bottom has been set.false
if the clip bottom has been set