Versions Compared

Key

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

Draws a rectangle defined by a location (x,y) and dimension (width x height). If arcWidth and arcHeight are defined then it will draw a rounded rectangle.

Properties

Property

Default

Notes

x

0

 

y

0

 

width

10

 

height

10

 

arcWidth

 

 

arcHeight

 

 

Examples

Code Block
rect( x: 10, y: 10, width: 300, height: 80, borderColor: 'darkRed', borderWidth: 2, fill: 'red' )

Code Block
rect( x: 10, y: 10, width: 300, height: 80, borderColor: 'blue', borderWidth: 2, fill: 'cyan',
      arcWidth: 20, arcHeight: 20 )