Widgets CIRCLE - thica/ORCA-Remote GitHub Wiki

Circle

The circle widget creates a colored circle or ellipse. You could add click/double click and wipe actions as well. Below you see an example for a circle

The following attributes are additional attributes to common widget attributes

Attribute Description
type fixed: needs to be "CIRCLE". Capital letters!
backgroundcolor The background color of the circle in hexadecimal RGBA format. It has to start with a pound sign (eg: #ff00ffff). Please use only low capital chars.
startangle If you don't want to have a full circle, and just want a have a part of the cake, you can set the starting angle of the circle here
stopangle If you don't want to have a full circle, and just want a have a part of the cake, you can set the stop angle of the circle here
picturenormal Instead of a color, you can use a picture as a circle background, For that, give the picturename here

Below you see an example for a circle

<element name="Colorcicle" type="CIRCLE" posx="center" posy="top" width="%50"  height="of:width:self" backgroundcolor='#000000ff' />
<element name="Picturecircle" type="CIRCLE" posx="%80" posy="%65" width="%8" height="of:width:self:*1.2" backgroundcolor='#FFFFFFFF' startangle='45' stopangle='120' picturenormal="button round normal"/>
Note:posx and posy are NOT the center of the circle, thy defines the upper left corner.
⚠️ **GitHub.com Fallback** ⚠️