public class PieWidget extends Widget
Widget.Rotation
Constructor and Description |
---|
PieWidget(LayoutManager layoutManager,
PieChart pieChart,
Size metrics) |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnDraw(android.graphics.Canvas canvas,
android.graphics.RectF widgetRect) |
applyRotation, calculateCoordinates, containsPoint, draw, drawBackground, drawBorder, getAnchor, getAnchorCoordinates, getAnchorCoordinates, getAnchorOffset, getBackgroundPaint, getBorderPaint, getHeightMetric, getHeightPix, getMarginatedRect, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddedRect, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPositionMetrics, getRotation, getSize, getWidgetDimensions, getWidthMetric, getWidthPix, isClippingEnabled, isVisible, layout, onMetricsChanged, onPostInit, onResize, position, position, refreshLayout, setAnchor, setBackgroundPaint, setBorderPaint, setClippingEnabled, setHeight, setHeight, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPositionMetrics, setRotation, setSize, setVisible, setWidth, setWidth
public PieWidget(LayoutManager layoutManager, PieChart pieChart, Size metrics)
protected void doOnDraw(android.graphics.Canvas canvas, android.graphics.RectF widgetRect) throws PlotRenderException
doOnDraw
in class Widget
canvas
- The Canvas to draw ontowidgetRect
- the size and coordinates of this widgetPlotRenderException