| Package | Description |
|---|---|
| com.groupdocs.viewer.drawing |
The package provides types that replaces platform-specific graphics types like Color.
|
| com.groupdocs.viewer.drawing.rgb24color |
Contains all 'known colors', that have fixed unique name and value in CSS standard.
|
| Modifier and Type | Method and Description |
|---|---|
static Rgb24Color |
Rgb24Color.fromRgb(int red,
int green,
int blue)
Creates a new Rgb24Color from specified red, green, and blue channel values.
|
Rgb24Color |
Argb32Color.toRgb24Color()
Cast this Argb32Color to Rgb24Color, losing alpha channel.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Argb32Color.equals(Rgb24Color other)
Compares this color with a Rgb24Color.
|
static Argb32Color |
Argb32Color.fromRgb24Color(Rgb24Color rgbColor)
Create Argb32Color from Rgb24Color with alpha set to 255.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
KnownColors.tryFindColor(String keyword,
Rgb24Color[] output)
Tries to find a color by its string name.
|
static boolean |
KnownColors.tryFindName(Rgb24Color color,
String[] name)
Tries to find a color name by its RGB value.
|
Copyright © 2025. All rights reserved.