Class DefaultAnnotationSelectionDrawable
Default implementation of IAnnotationSelectionDrawable which draws selection overlay with stroke
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class DefaultAnnotationSelectionDrawable implements IAnnotationSelectionDrawable
Constructors
DefaultAnnotationSelectionDrawable(int color, float opacity, float strokeWidth)
Creates a new instance of DefaultAnnotationSelectionDrawable class
Declaration
public DefaultAnnotationSelectionDrawable(int color, float opacity, float strokeWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| int | color | The color of selection overlay |
| float | opacity | The opacity of selection overlay |
| float | strokeWidth | The stroke width of selection overlay |
Methods
onDraw(Canvas canvas, Path annotationSelection)
Draws overlay for selected annotation
Declaration
public void onDraw(Canvas canvas, Path annotationSelection)
Parameters
| Type | Name | Description |
|---|---|---|
| android.graphics.Canvas | canvas | |
| android.graphics.Path | annotationSelection |