|
|
|
|||
|
Displaying Graphics with Graphics2DThis lesson shows you how to useGraphics2D to display graphics with
fancy outline and fill styles, transform graphics when they are
rendered, constrain rendering to a particular area, and generally
control the way graphics look when they are rendered. You'll also learn
how to create complex Shape objects by combining simple ones and how to
detect when the user clicks on a displayed graphics primitive. These
topics are discussed in the following sections:
Stroking and Filling Graphics Primitives
This section illustrates how to set the stroke and paint attributes to
control the outline and fill styles applied to
Transforming Shapes, Text, and ImagesThis section shows you how to modify the default transformation so that objects are translated, rotated, scaled, or sheared when they are rendered. Clipping the Drawing RegionYou can use any shape as a clipping path--the area within which rendering takes place. Compositing GraphicsThis section illustrates the various compositing styles supported by Controlling Rendering Quality
This section describes the rendering hints that
Constructing Complex Shapes from Geometry PrimitivesThis section shows you how to perform boolean operations on Supporting User InteractionThis section shows you how to perform hit detection on graphics primitives. | |||
|