软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.border |
提供用于绘图的类和接口,以绘制一个摆动组件的专门边框。
|
Modifier and Type | Method and Description |
---|---|
static Border |
BorderFactory.createStrokeBorder(BasicStroke stroke)
创建一个边境的指定
stroke 。
|
static Border |
BorderFactory.createStrokeBorder(BasicStroke stroke, Paint paint)
创建一个边境指定的
stroke 和
paint 。
|
Modifier and Type | Method and Description |
---|---|
BasicStroke |
StrokeBorder.getStroke()
返回用于中风的形状边界绘制在
BasicStroke 对象。
|
Constructor and Description |
---|
StrokeBorder(BasicStroke stroke)
创建一个边境的指定
stroke 。
|
StrokeBorder(BasicStroke stroke, Paint paint)
创建一个边境指定的
stroke 和
paint 。
|
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.