Uses of Class
java.awt.BasicStroke
-
Packages that use 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 and Description static Border
BorderFactory. createStrokeBorder(BasicStroke stroke)
Creates a border of the specifiedstroke
.static Border
BorderFactory. createStrokeBorder(BasicStroke stroke, Paint paint)
Creates a border of the specifiedstroke
andpaint
. -
Uses of BasicStroke in javax.swing.border
Methods in javax.swing.border that return BasicStroke Modifier and Type Method and Description BasicStroke
StrokeBorder. getStroke()
Returns theBasicStroke
object used to stroke a shape during the border rendering.Constructors in javax.swing.border with parameters of type BasicStroke Constructor and Description StrokeBorder(BasicStroke stroke)
Creates a border of the specifiedstroke
.StrokeBorder(BasicStroke stroke, Paint paint)
Creates a border of the specifiedstroke
andpaint
.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.