Documentation

The Java™ Tutorials
Hide TOC
Overview of the Java 2D API ConceptsJava2D API概念概述
Trail: 2D Graphics二维图形

Lesson: Overview of the Java 2D API Concepts课程:Java 2D API概念概述

The Java 2D API provides two-dimensional graphics, text, and imaging capabilities for Java programs through extensions to the Abstract Windowing Toolkit (AWT).Java2D API通过对抽象窗口工具包(AWT)的扩展,为Java程序提供了二维图形、文本和图像功能。This comprehensive rendering package supports line art, text, and images in a flexible, full-featured framework for developing richer user interfaces, sophisticated drawing programs, and image editors.这个全面的渲染包在一个灵活、功能齐全的框架中支持线条艺术、文本和图像,以开发更丰富的用户界面、复杂的绘图程序和图像编辑器。Java 2D objects exist on a plane called user coordinate space, or just user space.Java2D对象存在于一个称为用户坐标空间的平面上,或仅存在于用户空间中。When objects are rendered on a screen or a printer, user space coordinates are transformed to device space coordinates.在屏幕或打印机上渲染对象时,用户空间坐标将转换为设备空间坐标The following links are useful to start learning about the Java 2D API:以下链接有助于开始学习Java 2D API:

The Java 2D API provides following capabilities:Java 2D API提供以下功能:

These topics are discussed in the following sections:以下章节将讨论这些主题:


Previous page: Table of Contents
Next page: Coordinates