Canvas API maintenance (Blend Modes)
joseph.andresen at oracle.com
Fri May 18 13:57:11 PDT 2012
With updated javadoc >:)
----- Original Message -----
From: joseph.andresen at oracle.com
To: richard.bair at oracle.com
Cc: openjfx-dev at openjdk.java.net
Sent: Friday, May 18, 2012 1:54:07 PM GMT -08:00 US/Canada Pacific
Subject: Re: Canvas API maintenance (Blend Modes)
In addition to ImageOps... We had decided later on that we would drop the strange behavior of the CompositeOperations in Canvas and simply support the JavaFX BlendModes.
We decided BlendMode was a better name than composite because it is consistent with other JavaFX API.
Trivial Change to the API can be seen below:
* Sets the Global Blend Mode of the current state.
* @param op
public void setGlobalBlendMode(BlendMode op);
* Gets the Global Blend Mode of the current state.
* @return CompositeOperation
public BlendMode getGlobalBlendMode();
More information about the openjfx-dev