BrushLabels

BrushLabels tag creates segmented labeling

Parameters

Param Type Description
name string name of the element
toName string name of the image to label
background string brush fill color, e.g.: rgba(255,0,0,0.5), 0.5 is opacity

Example

<View>
  <BrushLabels name="labels" toName="image">
    <Label value="Person" />
    <Label value="Animal" />
  </BrushLabels>
  <Image name="image" value="$image" />
</View>