GraphicsBuilder: applying filters - No Fluff Just Stuff

GraphicsBuilder: applying filters

Posted by: Andres Almiray on January 6, 2008

On a previous entry I mentioned that Jerry Huxtable created a huge collection of filters and that I wish to include them all eventually in GraphicsBuilder. Here is a preview of the shapeBurstFilter applied to a red-based gradient rectangle (the last rectangle in the image is the original one)



This is sample usage, the code shown is for the first rectangle in the image

The trick with adding the filters is making a wrapper for each one in order to make them "observable", in other words, to be bindable and animatable :-D That will take some time so I think that before committing to wrap them all I should release the next version of GraphicsBuilder.

There are other goodies by the way:
  • colorPaint is a color-based paint, useful with multiPaint
  • antialias is a shortcut for setting renderingHints for antialiasing
  • pin is another shape that resembles the waypoints/pins on Google maps
  • triangle is a shape operation for equilateral, isosceles and right triangles


Keep on Groovying!
Andres Almiray

About Andres Almiray

Andres is a Java/Groovy developer and a Java Champion with more than 20 years of experience in software design and development. He has been involved in web and desktop application development since the early days of Java. Andres is a true believer in open source and has participated on popular projects like Groovy, Griffon, and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework and Hackergarten community event. https://ch.linkedin.com/in/aalmiray

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »