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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(Canvas canvas)Draws the object for position on the supplied canvas.-
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 Detail
-
ActionGraphic
public ActionGraphic(GraphicOverlay overlay, Rect objBox)
Object tracking graphic overlay.- Parameters:
overlay- is a layer for drawing action tracking result on the view.objBox- is being tracked object region.
-
-
Method Detail
-
draw
public void draw(Canvas canvas)
Draws the object for position on the supplied canvas.- Specified by:
drawin classGraphicOverlay.Graphic- Parameters:
canvas- drawing canvas
-
-