Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels