Versions Compared


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

GraphicsBuilder provides new methods for existing Java2D classes.


Color derive( Map )

creates a new color based on this color.
Map must contain any of [red,green,blue,alpha]


BasicStroke derive( Map )

creates a new stroke based on this stroke.
Map must contain any of [width,cap,join,miterlimit,dash,dashphase]


Area plus( Shape )

applies Area.add

enables + operator

Area minus( Shape )

applies Area.subtract

enables - operator

Area and( Shape )

applies Area.intersect

enables & operator

Area xor( Shape )

applies Area.xor

enables ^ operator

Note: shapes also have these 4 operators enabled