public enum CycleMethod extends Enum<CycleMethod>
CycleMethod.NO_CYCLE
、CycleMethod.REFLECT
またはCycleMethod.REPEAT
のいずれか)を定義します。列挙型定数と説明 |
---|
NO_CYCLE
終点の色を使用して残りの領域を塗りつぶすサイクル・メソッドを定義します。
|
REFLECT
始点側から終点側へのグラデーション色と終点側から始点側へのグラデーション色が対称になるように残りの領域を塗りつぶすサイクル・メソッドを定義します。
|
REPEAT
グラデーション色を繰り返して残りの領域を塗りつぶすサイクル・メソッドを定義します。
|
public static final CycleMethod NO_CYCLE
public static final CycleMethod REFLECT
public static final CycleMethod REPEAT
public static CycleMethod[] values()
for (CycleMethod c : CycleMethod.values()) System.out.println(c);
public static CycleMethod valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException
- 引数がnullの場合Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.