public final class AnsiColors extends ObjectSE
AWT Colors
SE のコンテキストで AnsiColor
を操作するためのユーティリティ。修飾子と型 | クラスと説明 |
---|---|
static class | AnsiColors.BitDepth このクラスでサポートされるビット深度。 |
コンストラクターと説明 |
---|
AnsiColors(AnsiColors.BitDepth bitDepth) 指定されたビット深度で新しい AnsiColors インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
AnsiElement | findClosest(ColorSE color) 指定された AWT Color SE に最も近い ANSI color を見つけます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public AnsiColors(AnsiColors.BitDepth bitDepth)
AnsiColors
インスタンスを作成します。bitDepth
- 必要なビット深度 public AnsiElement findClosest(ColorSE color)
Color
SE に最も近い ANSI color
を見つけます。color
- AWT カラー