Class FreehandDrawingModifier
Inheritance
FreehandDrawingModifier
Namespace:
Assembly: .dll
Syntax
public class FreehandDrawingModifier extends TouchModifierBase
Constructors
FreehandDrawingModifier()
Declaration
public FreehandDrawingModifier()
Methods
getBrushColor()
Gets the color for annotations created by this modifier.
Declaration
public final int getBrushColor()
Returns
getBrushThickness()
Gets the thickness for annotations created by this modifier.
Declaration
public final float getBrushThickness()
Returns
getXAxisId()
Gets the xAxis id for annotations created by this modifier.
Declaration
public final String getXAxisId()
Returns
getYAxisId()
Gets the yAxis id for annotations created by this modifier.
Declaration
public final String getYAxisId()
Returns
onTouchDown(ModifierTouchEventArgs args)
Called when MotionEvent#ACTION_DOWN event occurs
Declaration
protected boolean onTouchDown(ModifierTouchEventArgs args)
Parameters
Returns
Overrides
onTouchMove(ModifierTouchEventArgs args)
Called when MotionEvent#ACTION_MOVE event occurs
Declaration
protected boolean onTouchMove(ModifierTouchEventArgs args)
Parameters
Returns
Overrides
onTouchUp(ModifierTouchEventArgs args)
Called when MotionEvent#ACTION_UP event occurs
Declaration
protected boolean onTouchUp(ModifierTouchEventArgs args)
Parameters
Returns
Overrides
setAnnotationCreationListener(OnAnnotationCreatedListener listener)
Declaration
public final void setAnnotationCreationListener(OnAnnotationCreatedListener listener)
Parameters
setBrushColor(int color)
Sets the color for annotations created by this modifier.
Declaration
public final void setBrushColor(int color)
Parameters
| Type |
Name |
Description |
| int |
color |
|
setBrushThickness(float thickness)
Sets the thickness for annotations created by this modifier.
Declaration
public final void setBrushThickness(float thickness)
Parameters
| Type |
Name |
Description |
| float |
thickness |
|
setXAxisId(String xAxisId)
Sets the xAxis id for annotations created by this modifier.
Declaration
public final void setXAxisId(String xAxisId)
Parameters
| Type |
Name |
Description |
| String |
xAxisId |
|
setYAxisId(String yAxisId)
Sets the yAxis id for annotations created by this modifier.
Declaration
public final void setYAxisId(String yAxisId)
Parameters
| Type |
Name |
Description |
| String |
yAxisId |
|