Create an arc. Use colors from the preset color list or a web style hex color.
Mixin common commands.
Get the style of the arc.
Specifies how to draw the arc. If type is pie (the default) then the arc's region is defined by a section of the oval's perimeter plus two line segments, one between the center of the oval and each end of the perimeter section. If type is chord then the arc's region is defined by a section of the oval's perimeter plus a single line segment connecting the two end points of the perimeter section. If type is arc then the arc's region consists of a section of the perimeter alone. In this last case the fill color is ignored.
Get the extent of the arc.
Specifies the size of the angular range occupied by the arc. The arc's range extends for degrees counter-clockwise from the starting angle. Degrees may be negative. If it is greater than 360 or less than -360, then degrees modulo 360 is used as the extent.
Get the start angle of the arc.
Specifies the beginning of the angular range occupied by the arc. Degrees is given in units of degrees measured counter-clockwise from the 3-o'clock position; it may be either positive or negative.
Get the fill color.
Set the fill color. Use colors from the preset color list or a web style hex color.
Get the active fill color. An item's active state is triggered when the mouse rolls over the item.
Set the active fill color. An item's active state is triggered when the mouse rolls over the item. Use colors from the preset color list or a web style hex color.
Get the disabled fill color.
Set the disabled fill color. Use colors from the preset color list or a web style hex color.
Get the outline color.
Set the outline color. Use colors from the preset color list or a web style hex color.
Get the active outline color. An item's active state is triggered when the mouse rolls over the item.
Set the active outline color. An item's active state is triggered when the mouse rolls over the item. Use colors from the preset color list or a web style hex color.
Get the disabled outline color.
Set the disabled outline color. Use colors from the preset color list or a web style hex color.
Get the dash pattern.
Set the dash pattern of the outline. Each element represents the number of pixels of a line segment. Only the odd segments are drawn using the outline color. The other segments are drawn transparent.
Get the active dash pattern. An item's active state is triggered when the mouse rolls over the item.
Set the active dash pattern of the outline. Each element represents the number of pixels of a line segment. Only the odd segments are drawn using the outline color. The other segments are drawn transparent. An item's active state is triggered when the mouse rolls over the item.
Get the disabled dash pattern.
Set the disabled dash pattern of the outline. Each element represents the number of pixels of a line segment. Only the odd segments are drawn using the outline color. The other segments are drawn transparent.
Get the dash offset.
Set the dash offset.
Get the width of the outline.
Set the width of the outline.
Get the width of the active outline. An item's active state is triggered when the mouse rolls over the item.
Set the width of the active outline. An item's active state is triggered when the mouse rolls over the item.
Get the width of the disabled outline.
Set the width of the disabled outline.
Get the type of canvas item.
Get the coords of this item.
Set the coordinates used to draw this item.
Get the tags associated with this item.
Set tags associated with this item.
Add a specific tag to this item.
Delete a specific tag associated to this item.
Delete all tags associated to this item.
Destroy this item and remove it from the canvas.
Set the keyboard focus to this item in the canvas.
Lower an item in the drawing order.
Raise an item in the drawing order.
Move an item on the canvas by an amount.
Move an item on the canvas to a position.
Scale an item on the canvas. Note that some items have only a single pair of coordinates (e.g., text, images and widgets) and so scaling of them by this command can only move them around.
Mixin common commands.
These are injected common commands that can also be used with this canvas item.
A canvas arc item.