@Beta public interface ManualLayout
Modifier and Type | Method and Description |
---|---|
LayoutMode |
getHeightMode()
Returns current height mode of this
|
double |
getHeightRatio()
Returns current fraction of the height of the chart.
|
LayoutTarget |
getTarget()
Returns current layout target.
|
LayoutMode |
getWidthMode()
Returns current width mode of this manual layout.
|
double |
getWidthRatio()
Returns current fraction of the width of the chart.
|
double |
getX()
Returns the x location of the chart element.
|
LayoutMode |
getXMode()
Returns current x-coordinnate layout mode.
|
double |
getY()
Returns current y location of the chart element.
|
LayoutMode |
getYMode()
Returns current y-coordinate layout mode.
|
void |
setHeightMode(LayoutMode mode)
Specifies how to interpret the Height element for this manual
layout.
|
void |
setHeightRatio(double ratio)
Specifies the height (if Height Mode is Factor) or bottom (if
Height Mode is edge) of the chart element as a fraction of the
height of the chart.
|
void |
setTarget(LayoutTarget target)
Sets the layout target.
|
void |
setWidthMode(LayoutMode mode)
Specifies how to interpret the Width element for this manual
layout.
|
void |
setWidthRatio(double ratio)
Specifies the width (if Width Mode is Factor) or right (if
Width Mode is Edge) of the chart element as a fraction of the
width of the chart.
|
void |
setX(double x)
Specifies the x location (left) of the chart element as a
fraction of the width of the chart.
|
void |
setXMode(LayoutMode mode)
Sets the x-coordinate layout mode.
|
void |
setY(double y)
Specifies the y location (top) of the chart element as a
fraction of the height of the chart.
|
void |
setYMode(LayoutMode mode)
Sets the y-coordinate layout mode.
|
void setTarget(LayoutTarget target)
target
- new layout target.LayoutTarget getTarget()
void setXMode(LayoutMode mode)
mode
- new x-coordinate layout mode.LayoutMode getXMode()
void setYMode(LayoutMode mode)
mode
- new y-coordinate layout mode.LayoutMode getYMode()
double getX()
void setX(double x)
double getY()
void setY(double y)
void setWidthMode(LayoutMode mode)
mode
- new width layout mode of this manual layout.LayoutMode getWidthMode()
void setHeightMode(LayoutMode mode)
mode
- new height mode of this manual layout.LayoutMode getHeightMode()
void setWidthRatio(double ratio)
ratio
- a fraction of the width of the chart.double getWidthRatio()
void setHeightRatio(double ratio)
ratio
- a fraction of the height of the chart.double getHeightRatio()
Copyright © 2020. All rights reserved.