Uses of Class
java.awt.BasicStroke
| Package | Description |
|---|---|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.border |
Provides classes and interface for drawing specialized borders around a Swing
component.
|
-
Uses of BasicStroke in javax.swing
Methods in javax.swing with parameters of type BasicStroke Modifier and Type Method Description static BorderBorderFactory. createStrokeBorder(BasicStroke stroke)Creates a border of the specifiedstroke.static BorderBorderFactory. createStrokeBorder(BasicStroke stroke, Paint paint)Creates a border of the specifiedstrokeandpaint. -
Uses of BasicStroke in javax.swing.border
Methods in javax.swing.border that return BasicStroke Modifier and Type Method Description BasicStrokeStrokeBorder. getStroke()Returns theBasicStrokeobject used to stroke a shape during the border rendering.Constructors in javax.swing.border with parameters of type BasicStroke Constructor Description StrokeBorder(BasicStroke stroke)Creates a border of the specifiedstroke.StrokeBorder(BasicStroke stroke, Paint paint)Creates a border of the specifiedstrokeandpaint.