piccolo2d / piccolo2d.java

Structured 2D Graphics Framework
http://piccolo2d.org
Other
51 stars 14 forks source link

Add getRoot method to POffscreenCanvas #172

Closed mro closed 9 years ago

mro commented 9 years ago

Originally reported on Google Code with ID 172

POffscreenCanvas is missing a

public PRoot getRoot()

method.

Reported by heuermh on 2010-03-31 02:30:35

mro commented 9 years ago
Also:

setOpaque(boolean)
setPaint(Paint) or setBackground(Paint) or setBackgroundPaint(Paint)

Reported by heuermh on 2010-04-05 05:18:19

mro commented 9 years ago
I've implemented these changes in POffscreenCanvas, but implemented the background as
a Color rather than as Paint.

I'm not set on the decision, but I made it because:
PCanvas has a setBackground method and the clear method and it only seems right to
conform.

Reported by allain.lalonde on 2010-04-17 14:15:56

mro commented 9 years ago
Fixed in r1013

Reported by allain.lalonde on 2010-04-17 15:16:21

mro commented 9 years ago
$ svn commit -m "Issue 172 ; increasing test coverage, javadoc improvements,
checkstyle fixes" .
Sending        core/src/main/java/edu/umd/cs/piccolo/POffscreenCanvas.java
Sending        core/src/test/java/edu/umd/cs/piccolo/POffscreenCanvasTest.java
Transmitting file data ..
Committed revision 1014.

Reported by heuermh on 2010-04-19 02:58:00

mro commented 9 years ago

Reported by heuermh on 2013-11-26 20:47:09