GraphicsBuilder provides new methods for existing Java2D classes.

java.awt.Color

Color derive( Map )

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

java.awt.BasicStroke

BasicStroke derive( Map )

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

java.awt.Shape

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