Package org.pepstock.charba.client.items
Interface IsArea
-
- All Known Implementing Classes:
Area,AxisItem,BaseBoxItem,BaseBoxNodeItem,ChartAreaNode,Clip,LegendNode,ScaleItem,SubtitleNode,TitleNode
public interface IsAreaDefines an area dimensions.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description doublegetBottom()Returns the bottom of area.default doublegetHeight()Returns the height in pixel.doublegetLeft()Returns the left of area.doublegetRight()Returns the right of area.doublegetTop()Returns the top of area.default doublegetWidth()Returns the width in pixel.static booleanisConsistent(IsArea area)Returnstrueif the are is consistent, otherwisefalse.
-
-
-
Method Detail
-
isConsistent
static boolean isConsistent(IsArea area)
Returnstrueif the are is consistent, otherwisefalse.- Parameters:
area- area instance to be checked- Returns:
trueif the are is consistent, otherwisefalse
-
getTop
double getTop()
Returns the top of area.- Returns:
- the top of area.
-
getRight
double getRight()
Returns the right of area.- Returns:
- the right of area.
-
getBottom
double getBottom()
Returns the bottom of area.- Returns:
- the bottom of area.
-
getLeft
double getLeft()
Returns the left of area.- Returns:
- the left of area.
-
getWidth
default double getWidth()
Returns the width in pixel.- Returns:
- the width in pixel.
-
getHeight
default double getHeight()
Returns the height in pixel.- Returns:
- the height in pixel.
-
-