About 367,000 results
Open links in new tab
  1. Stroke (Java Platform SE 8 ) - Oracle

    The Stroke interface allows a Graphics2D object to obtain a Shape that is the decorated outline, or stylistic representation of the outline, of the specified Shape.

  2. Graphics (Java Platform SE 8 ) - Oracle Help Center

    The Graphics class is the abstract base class for all graphics contexts that allow an application to draw onto components that are realized on various devices, as well as onto off-screen images. A Graphics …

  3. Stroke (Java SE 24 & JDK 24) - docs.oracle.com

    The Stroke interface allows a Graphics2D object to obtain a Shape that is the decorated outline, or stylistic representation of the outline, of the specified Shape.

  4. Stroking Lines (Java Foundation Classes) - MIK

    4.5. Stroking Lines One of the new graphic attributes defined by Java 2D is the java.awt.Stroke; it is set with the setStroke () method of a Graphics2D object. The Stroke attribute is used by Java 2D …

  5. Introduction to Computer Graphics, Section 2.5 -- Java Graphics2D

    2.5.1 Graphics2D Java is an object-oriented language. Its API is defined as a large set of classes, The actual drawing operations in the original graphics API were mostly contained in the class named …

  6. Graphics2D (Java SE 11 & JDK 11 )

    Java 2D API保持与JDK 1.1呈现行为的兼容性,因此Java 2D API下的旧操作和现有呈现器行为保持不变。 定义了映射到常规draw和fill方法的遗留方法,这清楚地表明Graphics2D如何根据Stroke …

  7. Stroking and Filling Graphics Primitives (The Java™ Tutorials > 2D ...

    The ShapesDemo2D.java code example represents additional implementations of stoking and filling. Defining Fancy Line Styles and Fill Patterns Using the Java 2D™ Stroke and Paint classes, you can …

  8. Stroke (Java Platform SE 8 ) - Oracle

    Strokeを実装するクラスのオブジェクトは読込み専用である必要があります。 これは、setStrokeメソッドを使って属性として設定されたときや、Graphics2Dオブジェクト自身が複製されたときに …

  9. Stroking and Filling Graphics Primitives (The Java™ Tutorials > 2D ...

    By changing the stroke and paint attributes in the Graphics2D context before rendering, you can easily apply fancy line styles and fill patterns to graphics primitives. For example, you can draw a dashed …

  10. BasicStroke (Java Platform SE 8 ) - Oracle

    BasicStrokeクラスは、Stroke属性セットがこのBasicStrokeに設定されたGraphics2Dオブジェクトで描画されるグラフィックス・プリミティブの輪郭のための描画属性の基本セットを定義します。