com.androidplot
Class PlotLayout
java.lang.Object
com.androidplot.PlotLayout
- Direct Known Subclasses:
- BarPlotLayout, XYPlotLayout
public abstract class PlotLayout
- extends Object
Base class for all PlotLayouts. Encapsulates the geometry of a Plot.
Constructor Summary |
PlotLayout(android.view.View view)
|
PlotLayout
public PlotLayout(android.view.View view)
- Parameters:
view
- The Plot with which this PlotLayout is associated.
getMarginLeft
public int getMarginLeft()
- Returns:
- Space in pixels between the PlotLayout's lefthand border and the graphics inside.
getWidth
public int getWidth()
- Returns:
- The width in pixels of the Plot with which this PlotLayout is associated.
getHeight
public int getHeight()
- Returns:
- The height in pixels of the Plot with which this PlotLayout is associated.
getMarginTop
public int getMarginTop()
- Returns:
- Space in pixels between the PlotLayout's upper border and the graphics inside.
getMarginBottom
public int getMarginBottom()
- Returns:
- Space in pixels between the PlotLayout's lower border and the graphics inside.
getMarginRight
public int getMarginRight()
- Returns:
- Space in pixels between the PlotLayout's righthand border and the graphics inside.
Copyright © 2010. All Rights Reserved.