public final class Clip extends NativeObjectContainer
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.
|
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. |
boolean |
isLeft()
Returns
false if the clip left has been. |
boolean |
isRight()
Returns
false if the clip right has been. |
boolean |
isTop()
Returns
false if the clip top has been. |
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.
|
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public 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.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.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.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.false
if the clip bottom has been set