Package app.pivo.android.prosdk
Class ActionGraphic
java.lang.Object
app.pivo.android.prosdk.tracking.GraphicOverlay.Graphic
app.pivo.android.prosdk.ActionGraphic
public class ActionGraphic extends GraphicOverlay.Graphic
-
Constructor Summary
Constructors Constructor Description ActionGraphic(GraphicOverlay overlay, Rect objBox)Object tracking graphic overlay. -
Method Summary
Methods inherited from class app.pivo.android.prosdk.tracking.GraphicOverlay.Graphic
getApplicationContext, getHeightScaleFactor, getWidthScaleFactor, postInvalidate, previewHeight, previewWidth, scaleX, scaleY, translateX, translateX2, translateX3, translateY, translateY2, translateY3
-
Constructor Details
-
ActionGraphic
Object tracking graphic overlay.- Parameters:
overlay- is a layer for drawing action tracking result on the view.objBox- is being tracked object region.
-
-
Method Details
-
draw
Draws the object for position on the supplied canvas.- Specified by:
drawin classGraphicOverlay.Graphic- Parameters:
canvas- drawing canvas
-