Java™ Platform
Standard Ed. 8

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 and Description
      class  BasicStroke
      The BasicStroke class defines a basic set of rendering attributes for the outlines of graphics primitives, which are rendered with a Graphics2D object that has its Stroke attribute set to this BasicStroke.
      Methods in java.awt that return Stroke 
      Modifier and Type Method and Description
      abstract Stroke Graphics2D.getStroke()
      Returns the current Stroke in the Graphics2D context.
      Methods in java.awt with parameters of type Stroke 
      Modifier and Type Method and Description
      abstract void Graphics2D.setStroke(Stroke s)
      Sets the Stroke for the Graphics2D context.
Java™ Platform
Standard Ed. 8

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.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部