Polygon

Polygon is used to add polygons to an image

Parameters

Examples

<View>
  <Polygon name="rect-1" toName="img-1" value="Add Rectangle"></Polygon>
  <Image name="img-1" value="$img"></Image>
</View>