Eclipse Platform
Release 3.7

Package org.eclipse.swt.graphics

SWT graphics classes.

See:
          Description

Interface Summary
Drawable 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.
ImageLoaderListener Classes which implement this interface provide methods that deal with the incremental loading of image data.
 

Class Summary
Color Instances of this class manage the operating system resources that implement SWT's RGB color model.
Cursor Instances of this class manage operating system resources that specify the appearance of the on-screen pointer.
Device This class is the abstract superclass of all device objects, such as the Display device and the Printer device.
DeviceData  
Font Instances of this class manage operating system resources that define how text looks when it is displayed.
FontData Instances of this class describe operating system fonts.
FontMetrics Instances of this class provide measurement information about fonts including ascent, descent, height, leading space between rows, and average character width.
GC Class GC is where all of the drawing capabilities that are supported by SWT are located.
GCData Instances of this class are descriptions of GCs in terms of unallocated platform-specific data fields.
GlyphMetrics Instances of this class represent glyph metrics.
Image Instances of this class are graphics which have been prepared for display on a specific device.
ImageData Instances of this class are device-independent descriptions of images.
ImageLoader Instances of this class are used to load images from, and save images to, a file or stream.
ImageLoaderEvent Instances of this class are sent as a result of the incremental loading of image data.
LineAttributes LineAttributes defines a set of line attributes that can be modified in a GC.
PaletteData Instances of this class describe the color data used by an image.
Path Instances of this class represent paths through the two-dimensional coordinate system.
PathData Instances of this class describe device-independent paths.
Pattern Instances of this class represent patterns to use while drawing.
Point Instances of this class represent places on the (x, y) coordinate plane.
Rectangle Instances of this class represent rectangular areas in an (x, y) coordinate system.
Region 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 This class is the abstract superclass of all graphics resource objects.
RGB Instances of this class are descriptions of colors in terms of the primary additive color model (red, green and blue).
TextLayout TextLayout is a graphic object that represents styled text.
TextStyle TextStyle defines a set of styles that can be applied to a range of text.
Transform Instances of this class represent transformation matrices for points expressed as (x, y) pairs of floating point numbers.
 

Package org.eclipse.swt.graphics Description

SWT graphics classes.

Package Specification

This package provides the classes which implement points, rectangles, regions, colors, cursors, fonts, graphics contexts (that is, GCs) 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.


Eclipse Platform
Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.