public class

FritzVisionMask

extends Object
java.lang.Object
   ↳ ai.fritz.fritzvisionsegmentation.FritzVisionMask

Summary

Public Constructors
FritzVisionMask(MaskType maskType)
FritzVisionMask(MaskType maskType, List<FritzVisionPoint> maskPoints)
Public Methods
void addPoint(FritzVisionPoint point)
void drawMask(Canvas canvas, int alpha, float scaleFactorWidth, float scaleFactorHeight)
Draw mask scaled for a different size.
void drawMask(Canvas canvas, int alpha)
Draw the mask on the canvas using the default color and a specified alpha value between 0 and 255.
List<FritzVisionPoint> getMaskPoints()
MaskType getMaskType()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FritzVisionMask (MaskType maskType)

public FritzVisionMask (MaskType maskType, List<FritzVisionPoint> maskPoints)

Public Methods

public void addPoint (FritzVisionPoint point)

public void drawMask (Canvas canvas, int alpha, float scaleFactorWidth, float scaleFactorHeight)

Draw mask scaled for a different size.

public void drawMask (Canvas canvas, int alpha)

Draw the mask on the canvas using the default color and a specified alpha value between 0 and 255.

public List<FritzVisionPoint> getMaskPoints ()

public MaskType getMaskType ()