Uses of Interface
java.awt.Stroke
-
Packages that use Stroke Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. -
-
Uses of Stroke in java.awt
Classes in java.awt that implement Stroke Modifier and Type Class Description class
BasicStroke
TheBasicStroke
class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with aGraphics2D
object that has its Stroke attribute set to thisBasicStroke
.Methods in java.awt that return Stroke Modifier and Type Method Description abstract Stroke
Graphics2D. getStroke()
Returns the currentStroke
in theGraphics2D
context.Methods in java.awt with parameters of type Stroke Modifier and Type Method Description abstract void
Graphics2D. setStroke(Stroke s)
Sets theStroke
for theGraphics2D
context.
-