Can anybody tell me what alg开发者_如何学Pythonorithms or methods the java graphics2D fill uses, or how it works?
or if you can point to the source code(I don't know if that is even possible).
Thanks
You can't "see" it, because its usually implemented in hardware of a graphics card---take a look at http://download.oracle.com/javase/1.5.0/docs/guide/2d/new_features.html#ogl.
you can access the documentation for any java classes/methods at: http://download.oracle.com/javase/7/docs/api/
if you navigate to graphics2d (under All Classes, on the left), it should have an explanation of the class and of all its methods.
精彩评论