O'Reilly logo

Borland® JBuilder™ Developer’s Guide by Jeff Swisher, Saleem Siddiqui, Michael Landy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering Effects

To understand the details involved in rendering a graphics object, it is important to know the two coordinate systems involved and the relationship between them.

The user coordinate system is the one you use to specify all the coordinates for your shapes. You can think of the origin in the user coordinate system anchored at the top-left corner of an imaginary rectangular piece of paper, with the positive x- and y-axes running toward the right and down, respectively.

The device coordinate system is the one used to actually render the shapes on the specific device (which could be paper if you’re printing the shapes).

Java2D allows text to be rendered as graphical glyphs and treated like shapes.

It is possible to transform points ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required