软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.geom |
定义在二维几何相关的对象执行操作提供java 2D类。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Class and Description |
---|---|
class |
Rectangle
一个
Rectangle 指定一个坐标空间是由
Rectangle 对象的左上点
(x,y) 在坐标空间,封闭区域的宽度和高度。
|
Modifier and Type | Class and Description |
---|---|
class |
Arc2D
Arc2D 是所有对象的框架矩形,定义二维圆弧型存储抽象父类的起始角度,角度范围(弧长),和一个封闭式(
OPEN ,
CHORD ,或
PIE )。
|
static class |
Arc2D.Double
这个类定义了一个弧
double 指定精度。
|
static class |
Arc2D.Float
这个类定义了一个弧
float 指定精度。
|
class |
Ellipse2D
的
Ellipse2D 类描述了一个椭圆,是由一个框架矩形定义。
|
static class |
Ellipse2D.Double
的
Double 类定义了一个在
double 精度指定椭圆。
|
static class |
Ellipse2D.Float
的
Float 类定义了一个在
float 精度指定椭圆。
|
class |
Rectangle2D
的
Rectangle2D 类描述了一个矩形的位置和尺寸
(w x h)
(x,y) 。
|
static class |
Rectangle2D.Double
的
Double 类定义了一个矩形的双坐标指定。
|
static class |
Rectangle2D.Float
的
Float 类定义了一个矩形指定浮点坐标。
|
class |
RoundRectangle2D
的
RoundRectangle2D 类定义了一个圆角矩形的位置
(x,y) 定义、维度和
(w x h) ,与弧的宽度和高度的角轮。
|
static class |
RoundRectangle2D.Double
的
Double 类定义了一个圆角矩形都指定
double 坐标。
|
static class |
RoundRectangle2D.Float
的
Float 类定义了一个圆角矩形都指定
float 坐标。
|
Modifier and Type | Class and Description |
---|---|
static class |
BasicTextUI.BasicCaret |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCaret
卡雷特的默认实现。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.