Interface DrawingView.DrawingListener
-
- Enclosing class:
- DrawingView<T extends android.view.View & ZoomableSharingView>
public static interface DrawingView.DrawingListenerInterface for listening on shape drawing events.
Used internally byWhiteboardRendererto notifyWhiteboardSurfaceabout that user draw something.
To get object of this interface you need to callWhiteboardRenderer.getDrawingListener().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteShape(AbstractShape shape)voidfinishShape(AbstractShape shape)java.util.List<AbstractShape>getShapes()CirclesendCircle(Point ltc, Point rbc, boolean filled, Color color, int width)ShapesendShape(java.util.List<Point> points, boolean isFilled, boolean isFinished, Color color, int width)TextsendText(Point position, java.lang.String content, Color drawingColor, int fontSize)voidupdateShape(AbstractShape shape)voidupdateShape(AbstractShape shape, java.util.List<Point> newPoints)
-
-
-
Method Detail
-
sendShape
Shape sendShape(java.util.List<Point> points, boolean isFilled, boolean isFinished, Color color, int width)
-
updateShape
void updateShape(AbstractShape shape, java.util.List<Point> newPoints)
-
updateShape
void updateShape(AbstractShape shape)
-
deleteShape
void deleteShape(AbstractShape shape)
-
finishShape
void finishShape(AbstractShape shape)
-
getShapes
java.util.List<AbstractShape> getShapes()
-
-