public enum StrokeLineCap extends Enum<StrokeLineCap>
Shape
のエンド・キャップ・スタイルを定義します。列挙型定数と説明 |
---|
BUTT
装飾を付けずに、閉じられていない部分輪郭線および破線セグメントを終了します。
|
ROUND
ペン幅の半分の長さを半径とした丸い装飾を付けて、閉じられていない部分輪郭線および破線セグメントを終了します。
|
SQUARE
ライン幅の半分の長さに等しい距離だけセグメントの先端を延長する正方形を付けて、閉じられていない部分輪郭線および破線セグメントを終了します。
|
public static final StrokeLineCap SQUARE
public static final StrokeLineCap BUTT
public static final StrokeLineCap ROUND
public static StrokeLineCap[] values()
for (StrokeLineCap c : StrokeLineCap.values()) System.out.println(c);
public static StrokeLineCap valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException
- 引数がnullの場合Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.