public class ConnectingLine
extends java.lang.Object
| Constructor and Description |
|---|
ConnectingLine(float y,
float connectingLineWeight,
java.util.ArrayList<java.lang.Integer> connectingLineColors)
Constructor for connecting line
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas,
float leftMargin,
com.appyvet.materialrangebar.PinView rightThumb)
Draw the connecting line between for single slider.
|
void |
draw(android.graphics.Canvas canvas,
com.appyvet.materialrangebar.PinView leftThumb,
com.appyvet.materialrangebar.PinView rightThumb)
Draw the connecting line between the two thumbs in rangebar.
|
public ConnectingLine(float y,
float connectingLineWeight,
java.util.ArrayList<java.lang.Integer> connectingLineColors)
y - the y co-ordinate for the lineconnectingLineWeight - the weight of the lineconnectingLineColors - the color of the linepublic void draw(android.graphics.Canvas canvas,
com.appyvet.materialrangebar.PinView leftThumb,
com.appyvet.materialrangebar.PinView rightThumb)
canvas - the Canvas to draw toleftThumb - the left thumbrightThumb - the right thumbpublic void draw(android.graphics.Canvas canvas,
float leftMargin,
com.appyvet.materialrangebar.PinView rightThumb)
canvas - the Canvas to draw torightThumb - the right thumbleftMargin - the left margin