---
name: "Image.arc"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Image.arc"
---

# Image.arc(3kaya)

Draw an arc of an ellipse.

## NAME

Image::arc - Draw an arc of an ellipse.

## SYNOPSIS

**Void arc(** *Image img, Int cx, Int cy, Int w, Int h, Int start, Int end, Colour col, Bool filled=false, \[ArcStyle\] style=\[Arc\]* **)**

## ARGUMENTS

**img** The image

**cx** The X coordinate of the centre of the ellipse

**cy** The Y coordinate of the centre of the ellipse

**w** The width of the ellipse

**h** The height of the ellipse

**start** The starting angle (in degrees measured clockwise from rightwards)

**end** The ending angle (in degrees measured clockwise from rightwards)

**col** Colour of the arc

**filled** Whether the arc is filled (defaults to false)

**style** If the arc is filled, a list of **Image.ArcStyle (3kaya)** s to apply.

## DESCRIPTION

Draw an arc of an ellipse, optionally filled, with the specified parameters.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Image.ellipse (3kaya)**
