Ellipse

Ellipse is used to add ellipse (elleptic Bounding Box) to an image

Parameters

Param Type Default Description
name string name of the element
toName string name of the image to label
[opacity] float 0.6 opacity of ellipse
[fillColor] string rectangle fill color, default is transparent
[strokeColor] string "#f48a42" stroke color
[strokeWidth] number 1 width of the stroke
[canRotate] boolean true show or hide rotation handle

Example

<View>
  <Ellipse name="ellipse1-1" toName="img-1" />
  <Image name="img-1" value="$img" />
</View>