Skip to content

Commit 2057d3b

Browse files
author
yevgen-nykytenko
committed
Update content 2025-06-28 03:51:57
1 parent 7ca2678 commit 2057d3b

File tree

14 files changed

+964
-7
lines changed

14 files changed

+964
-7
lines changed

english/java/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ is_root: true
1313
| [com.groupdocs.viewer](./com.groupdocs.viewer) | The package provides classes for rendering documents in HTML5, Image, or PDF modes with fast and high-quality results. |
1414
| [com.groupdocs.viewer.caching](./com.groupdocs.viewer.caching) | The package provides classes for customizing caching behavior. |
1515
| [com.groupdocs.viewer.caching.extra](./com.groupdocs.viewer.caching.extra) | The package provides functionality for using custom models in cache implementation. |
16+
| [com.groupdocs.viewer.drawing](./com.groupdocs.viewer.drawing) | The package provides types that replaces platform-specific graphics types like Color. |
17+
| [com.groupdocs.viewer.drawing.rgb24color](./com.groupdocs.viewer.drawing.rgb24color) | Contains all 'known colors', that have fixed unique name and value in CSS standard. |
1618
| [com.groupdocs.viewer.exception](./com.groupdocs.viewer.exception) | The package provides classes for exceptions that can occur while working with a document. |
1719
| [com.groupdocs.viewer.fonts](./com.groupdocs.viewer.fonts) | The package provides classes and enumerations to manage fonts used during the rendering process. |
1820
| [com.groupdocs.viewer.interfaces](./com.groupdocs.viewer.interfaces) | The package provides interfaces for instantiating and releasing the output document and its resources. |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: com.groupdocs.viewer.drawing.rgb24color
3+
second_title: GroupDocs.Viewer for Java API Reference
4+
description: Contains all known colors that have fixed unique name and value in CSS standard.
5+
type: docs
6+
weight: 14
7+
url: /java/com.groupdocs.viewer.drawing.rgb24color/
8+
---
9+
10+
Contains all 'known colors', that have fixed unique name and value in CSS standard.
11+
12+
13+
## Classes
14+
15+
| Class | Description |
16+
| --- | --- |
17+
| [KnownColors](../com.groupdocs.viewer.drawing.rgb24color/knowncolors) | |
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: KnownColors
3+
second_title: GroupDocs.Viewer for Java API Reference
4+
description:
5+
type: docs
6+
weight: 10
7+
url: /java/com.groupdocs.viewer.drawing.rgb24color/knowncolors/
8+
---
9+
**Inheritance:**
10+
java.lang.Object
11+
```
12+
public class KnownColors
13+
```
14+
## Methods
15+
16+
| Method | Description |
17+
| --- | --- |
18+
| [tryFindColor(String keyword, Rgb24Color[] output)](#tryFindColor-java.lang.String-com.groupdocs.viewer.drawing.Rgb24Color---) | Tries to find a color by its string name. |
19+
| [tryFindName(Rgb24Color color, String[] name)](#tryFindName-com.groupdocs.viewer.drawing.Rgb24Color-java.lang.String---) | Tries to find a color name by its RGB value. |
20+
### tryFindColor(String keyword, Rgb24Color[] output) {#tryFindColor-java.lang.String-com.groupdocs.viewer.drawing.Rgb24Color---}
21+
```
22+
public static boolean tryFindColor(String keyword, Rgb24Color[] output)
23+
```
24+
25+
26+
Tries to find a color by its string name.
27+
28+
**Parameters:**
29+
| Parameter | Type | Description |
30+
| --- | --- | --- |
31+
| keyword | java.lang.String | A color name. |
32+
| output | [Rgb24Color\[\]](../../com.groupdocs.viewer.drawing/rgb24color) | The result container for the found color, or CssLevel1.Black on failure. |
33+
34+
**Returns:**
35+
boolean - True if the color was successfully found by name, false otherwise.
36+
### tryFindName(Rgb24Color color, String[] name) {#tryFindName-com.groupdocs.viewer.drawing.Rgb24Color-java.lang.String---}
37+
```
38+
public static boolean tryFindName(Rgb24Color color, String[] name)
39+
```
40+
41+
42+
Tries to find a color name by its RGB value.
43+
44+
**Parameters:**
45+
| Parameter | Type | Description |
46+
| --- | --- | --- |
47+
| color | [Rgb24Color](../../com.groupdocs.viewer.drawing/rgb24color) | A color instance. |
48+
| name | java.lang.String[] | The result container for the found color name, or null on failure. |
49+
50+
**Returns:**
51+
boolean - True if the name was successfully found for the given color, false otherwise.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: com.groupdocs.viewer.drawing
3+
second_title: GroupDocs.Viewer for Java API Reference
4+
description: The package provides types that replaces platform-specific graphics types like Color.
5+
type: docs
6+
weight: 13
7+
url: /java/com.groupdocs.viewer.drawing/
8+
---
9+
10+
The package provides types that replaces platform-specific graphics types like Color.
11+
12+
The main classes and interfaces in this package are:
13+
14+
* [Argb32Color](../../com.groupdocs.viewer.drawing/argb32color) - Represents 32-bit color in ARGB format, with 8 bits per channel (Alpha, Red, Green, Blue).
15+
* [Image2DFormat](../../com.groupdocs.viewer.drawing/image2dformat) - Represents a 2D image format \\u2014 raster or vector.
16+
* [Rgb24Color](../../com.groupdocs.viewer.drawing/rgb24color) - Represents 24-bit color in RGB format, with 8 bits per every channel (Red, Green, Blue). Does not support transparency.
17+
18+
For more details on customizing caching behavior in GroupDocs.Viewer, please refer to the [GroupDocs.Viewer Documentation][].
19+
20+
21+
[GroupDocs.Viewer Documentation]: https://docs.groupdocs.com/viewer/java/
22+
23+
24+
## Classes
25+
26+
| Class | Description |
27+
| --- | --- |
28+
| [Argb32Color](../com.groupdocs.viewer.drawing/argb32color) | Represents 32-bit color in ARGB format, with 8 bits per channel (Alpha, Red, Green, Blue). |
29+
| [Image2DFormat](../com.groupdocs.viewer.drawing/image2dformat) | Represents a 2D image format \\u2014 raster or vector. |
30+
| [Rgb24Color](../com.groupdocs.viewer.drawing/rgb24color) | |

0 commit comments

Comments
 (0)