Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Draws an arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN, CHORD, or PIE)

Properties

Property

Default

Notes

x

0

 

y

0

 

width

0

 

height

0

 

start

0

 

extent

90

 

close

Arc2D.OPEN

value must be any of Arc2D.[OPEN,CHORD,CLOSE] or ['open','chord','close']

Example

Code Block
arc( x: 0, y: 20, width: 100, height: 100, start: 0, extent: 90,
     borderColor: 'darkViolet', borderWidth: 5, fill: 'pink', close: 'pie' )
arc( x: 100, y: 20, width: 100, height: 100, start: 0, extent: 90,
     borderColor: 'darkViolet', borderWidth: 5, fill: 'pink', close: 'chord' )
arc( x: 200, y: 20, width: 100, height: 100, start: 0, extent: 90,
     borderColor: 'darkViolet', borderWidth: 5, fill: 'pink', close: 'open' )