public final class AnsiColors extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AnsiColors.BitDepth
此类支持的位深度。
|
Constructor and Description |
---|
AnsiColors(AnsiColors.BitDepth bitDepth)
创建具有指定位深度的新
AnsiColors 实例。 |
Modifier and Type | Method and Description |
---|---|
AnsiColorWrapper |
findClosest(Color color)
|
public AnsiColors(AnsiColors.BitDepth bitDepth)
AnsiColors
实例。bitDepth
- 所需的位深度public AnsiColorWrapper findClosest(Color color)
color
- AWT 颜色ANSI 颜色包装
实例Copyright © 2025. All rights reserved.