public final class Margin extends NativeObjectContainer
| Constructor and Description |
|---|
Margin()
Creates an empty margin object.
|
Margin(int topBottom,
int leftRight)
Creates an margin setting top-bottom and left-right initial values.
|
Margin(int top,
int right,
int bottom,
int left)
Creates an margin setting top-bottom and left-right initial values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBottom()
Returns the margin bottom of legend.
|
int |
getLeft()
Returns the margin left of legend.
|
int |
getRight()
Returns the margin right of legend.
|
int |
getTop()
Returns the margin top of legend.
|
void |
setBottom(int bottom)
Sets the margin bottom of legend.
|
void |
setLeft(int left)
Sets the margin left of legend.
|
void |
setRight(int right)
Sets the margin right of legend.
|
void |
setTop(int top)
Sets the margin top of legend.
|
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, typepublic Margin()
public Margin(int topBottom,
int leftRight)
topBottom - a values to set top and bottom dimensionsleftRight - a values to set left and right dimensionspublic Margin(int top,
int right,
int bottom,
int left)
top - a values to set top dimensionright - a values to set right dimensionbottom - a values to set bottom dimensionleft - a values to set left dimensionpublic void setTop(int top)
top - the margin top of legend.public int getTop()
public void setRight(int right)
right - the margin right of legend.public int getRight()
public void setBottom(int bottom)
bottom - the margin bottom of legend.public int getBottom()
public void setLeft(int left)
left - the margin left of legend.public int getLeft()