Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
group( color: 'blue', strokeWidth: 4, fill: 'cyan' ){
      rect( x: 10, y: 10, width: 290, height: 80, arcWidth: 20, arcHeight: 20 )
      circle( cx: 90, cy: 80, radius: 50 )
      polygon(points: [175, 38, 229, 69, 229, 131, 175, 162, 121, 131, 121, 69])
 
}

Image Added

Border and fill is overridden by one child.

Code Block
group( color: 'blue', strokeWidth: 4, fill: 'cyan' ){
      rect( x: 10, y: 10, width: 290, height: 80, arcWidth: 20, arcHeight: 20 )
      circle( cx: 90, cy: 80, radius: 50, borderColor: 'darkRed', fill: 'red' )
      polygon(points: [175, 38, 229, 69, 229, 131, 175, 162, 121, 131, 121, 69])
 
}

Image Added