• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.github.mikephil.charting.renderer.scatter;
2 
3 import android.graphics.Canvas;
4 import android.graphics.Paint;
5 
6 import com.github.mikephil.charting.interfaces.datasets.IScatterDataSet;
7 import com.github.mikephil.charting.utils.ViewPortHandler;
8 
9 /**
10  * Created by wajdic on 15/06/2016.
11  * Created at Time 09:07
12  */
13 public interface IShapeRenderer
14 {
15 
16     /**
17      * Renders the provided ScatterDataSet with a shape.
18      *
19      * @param c               Canvas object for drawing the shape
20      * @param dataSet         The DataSet to be drawn
21      * @param viewPortHandler Contains information about the current state of the view
22      * @param posX            Position to draw the shape at
23      * @param posY            Position to draw the shape at
24      * @param renderPaint     Paint object used for styling and drawing
25      */
renderShape(Canvas c, IScatterDataSet dataSet, ViewPortHandler viewPortHandler, float posX, float posY, Paint renderPaint)26     void renderShape(Canvas c, IScatterDataSet dataSet, ViewPortHandler viewPortHandler,
27                      float posX, float posY, Paint renderPaint);
28 }
29