InteractiveSegmenterBrushMode enum

Brush interaction mode for InteractiveSegmenter (also exported as BrushMode).

Signature:

export declare enum InteractiveSegmenterBrushMode {
  UNSPECIFIED = 0,
  POSITIVE = 1,
  NEGATIVE = 2,
  LASSO = 3,
}
export { InteractiveSegmenterBrushMode as BrushMode };

Enumeration Members

Member Value Description
LASSO 3 Closed-polygon lasso selection around the foreground region.
NEGATIVE 2 Negative (background exclusion) brush stroke.
POSITIVE 1 Positive (foreground inclusion) brush stroke.
UNSPECIFIED 0 Unspecified brush mode.