ColorTranslator Sınıfı
Summary: Translates colors to and from GDI+ Color structures. This class cannot be inherited.
Module: aspose.imaging
Full Name: aspose.imaging.ColorTranslator
Methods
| Name | Açıklama |
|---|---|
| from_html(html_color) | HTML renginden rengi alır. |
| from_ole(ole_color) | OLE renginden rengi alır. |
| from_win32(win_32_color) | HTML renginden rengi alır. |
| to_html(c) | Renkten HTML rengi oluşturur. |
| to_ole(c) | OLE rengini renge çevirir. |
| to_win32(c) | Rengi win32 rengine dönüştürür. |
Method: from_html(html_color) [static]
from_html(html_color)
HTML renginden rengi alır.
Parameters:
| Parameter | Tür | Açıklama |
|---|---|---|
| html_color | string | HTML rengi. |
Returns
| Tür | Açıklama |
|---|---|
| Color | Renk. |
Method: from_ole(ole_color) [static]
from_ole(ole_color)
OLE renginden rengi alır.
Parameters:
| Parameter | Tür | Açıklama |
|---|---|---|
| ole_color | int | OLE rengi. |
Returns
| Tür | Açıklama |
|---|---|
| Color | Renk. |
Method: from_win32(win_32_color) [static]
from_win32(win_32_color)
HTML renginden rengi alır.
Parameters:
| Parameter | Tür | Açıklama |
|---|---|---|
| win_32_color | int | Win32 rengi. |
Returns
| Tür | Açıklama |
|---|---|
| Color | Renk. |
Method: to_html(c) [static]
to_html(c)
Renkten HTML rengi oluşturur.
Parameters:
| Parameter | Tür | Açıklama |
|---|---|---|
| c | Color | Renk sınıfı. |
Returns
| Tür | Açıklama |
|---|---|
| string | HTML dize rengi. |
Method: to_ole(c) [static]
to_ole(c)
OLE rengini renge çevirir.
Parameters:
| Parameter | Tür | Açıklama |
|---|---|---|
| c | Color | Renk. |
Returns
| Tür | Açıklama |
|---|---|
| int | OLE rengi. |
Method: to_win32(c) [static]
to_win32(c)
Rengi win32 rengine dönüştürür.
Parameters:
| Parameter | Tür | Açıklama |
|---|---|---|
| c | Color | Renk. |
Returns
| Tür | Açıklama |
|---|---|
| int | Win32 rengi. |