On line guide/help

You are on page 20 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.

Index Prev. Next

Circle

Draw a circle

The <circle> element prints a circle centered at the specified x,y coordinates (required parameters) and with radius r (required parameter).


Parameters

Elements / attributes of the <circle> element:

Main required parameters
<x> (numeric, float) Center X coordinate
<y> (numeric, float) Center Y coordinate
<r> (numeric, float) Circle radius

Other optional parameters:
<angstart> Starting angle of the circle in degrees, from 0 to 360. Default value if not specified: 0
<angend> Ending angle of the circle in degrees, from 0 to 360. Default value if not specified: 360
<linestyle> Sets the line style for the circle border (if not set, the default line style will be used)
<fillstyle> (or <fill>) Fill style of the circle (if not set, the default fill style is used). Only the solid fill is supported.

Extra optional parameters.
<printif> Optional expression: the element is printed only if the expression is true, eg. {doc.type}=1. See the Conditional printing page.

Example

A filled circle and an arc.

Circle examples