org.eclipse.swt.graphics |
Package-level Javadoc
SWT graphics classes.
Package Specification
This package provides the classes which implement points, rectangles,
regions, colors, cursors, fonts, graphics contexts (that is, GC s)
where most of the primitive drawing operations are implemented, and
images including both the code for displaying them and the public API for
loading/saving them.
|
Java Source File Name | Type | Comment |
Color.java | Class | Instances of this class manage the operating system resources that
implement SWT's RGB color model. |
Cursor.java | Class | Instances of this class manage operating system resources that
specify the appearance of the on-screen pointer. |
Device.java | Class | This class is the abstract superclass of all device objects,
such as the Display device and the Printer device. |
DeviceData.java | Class | |
Drawable.java | Interface | Implementers of Drawable can have a graphics context (GC)
created for them, and then they can be drawn on by sending messages to
their associated GC. |
Font.java | Class | Instances of this class manage operating system resources that
define how text looks when it is displayed. |
FontData.java | Class | Instances of this class describe operating system fonts. |
FontMetrics.java | Class | Instances of this class provide measurement information
about fonts including ascent, descent, height, leading
space between rows, and average character width. |
GC.java | Class | Class GC is where all of the drawing capabilities that are
supported by SWT are located. |
GCData.java | Class | Instances of this class are descriptions of GCs in terms
of unallocated platform-specific data fields.
IMPORTANT: This class is not part of the public
API for SWT. |
GlyphMetrics.java | Class | Instances of this class represent glyph metrics.
The hashCode() method in this class uses the values of the public
fields to compute the hash value. |
Image.java | Class | Instances of this class are graphics which have been prepared
for display on a specific device. |
ImageData.java | Class | Instances of this class are device-independent descriptions
of images. |
ImageDataLoader.java | Class | Internal class that separates ImageData from ImageLoader
to allow removal of ImageLoader from the toolkit. |
ImageLoader.java | Class | Instances of this class are used to load images from,
and save images to, a file or stream. |
ImageLoaderEvent.java | Class | Instances of this class are sent as a result of the incremental
loading of image data.
Notes:
- The number of events which will be sent when loading images
is not constant.
|
ImageLoaderListener.java | Interface | Classes which implement this interface provide methods
that deal with the incremental loading of image data. |
LineAttributes.java | Class | LineAttributes defines a set of line attributes that
can be modified in a GC. |
PaletteData.java | Class | Instances of this class describe the color data used by an image.
Depending on the depth of the image, the PaletteData can take one
of two forms, indicated by the isDirect field:
-
isDirect is false
-
If isDirect is
false , this palette is an indexed
palette which maps pixel values to RGBs. |
Path.java | Class | Instances of this class represent paths through the two-dimensional
coordinate system. |
PathData.java | Class | Instances of this class describe device-independent paths. |
Pattern.java | Class | Instances of this class represent patterns to use while drawing. |
Point.java | Class | Instances of this class represent places on the (x, y)
coordinate plane.
The coordinate space for rectangles and points is considered
to have increasing values downward and to the right from its
origin making this the normal, computer graphics oriented notion
of (x, y) coordinates rather than the strict mathematical one.
The hashCode() method in this class uses the values of the public
fields to compute the hash value. |
Rectangle.java | Class | Instances of this class represent rectangular areas in an
(x, y) coordinate system. |
Region.java | Class | Instances of this class represent areas of an x-y coordinate
system that are aggregates of the areas covered by a number
of polygons. |
Resource.java | Class | This class is the abstract superclass of all graphics resource objects. |
RGB.java | Class | Instances of this class are descriptions of colors in
terms of the primary additive color model (red, green and
blue). |
TextLayout.java | Class | TextLayout is a graphic object to work with text. |
TextStyle.java | Class | |
Transform.java | Class | Instances of this class represent transformation matrices for
points expressed as (x, y) pairs of floating point numbers. |