- AWT - Graphics
- AWT - Menu
- AWT - Containers
- AWT - Layouts
- AWT - Event Adapters
- AWT - Event Listeners
- AWT - Event Classes
- AWT - Event Handling
- AWT - Controls
- AWT - Environment
- AWT - Overview
- AWT - Home
AWT Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
AWT Graphics Classes
Graphics controls allows apppcation to draw onto the component or on image.
Graphics Controls
Sr. No. | Control & Description |
---|---|
1 |
It is the top level abstract class for all graphics contexts. |
2 |
It is a subclass of Graphics class and provides more sophisticated control over geometry, coordinate transformations, color management, and text layout. |
3 |
Arc2D is the abstract superclass for all objects that store a 2D arc defined by a framing rectangle, start angle, angular extent (length of the arc), and a closure type (OPEN, CHORD, or PIE). |
4 |
The CubicCurve2D class is the abstract superclass fpr all objects which store a 2D cubic curve segment and it defines a cubic parametric curve segment in (x,y) coordinate space. |
5 |
The Elppse2D is the abstract superclass for all objects which store a 2D elppse and it describes an elppse that is defined by a framing rectangle. |
6 |
The Rectangle2D class is an abstract superclass for all objects that store a 2D rectangle and it describes a rectangle defined by a location (x,y) and dimension (w x h). |
7 |
The QuadCurve2D class is an abstract superclass for all objects that store a 2D quadratic curve segment and it describes a quadratic parametric curve segment in (x,y) coordinate space. |
8 |
This Line2D represents a pne segment in (x,y) coordinate space. |
9 |
The Font class represents fonts, which are used to render text in a visible way. |
10 |
The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by a ColorSpace. |
11 |
The BasicStroke class defines a basic set of rendering attributes for the outpnes of graphics primitives, which are rendered with a Graphics2D object that has its Stroke attribute set to this BasicStroke. |