فئة ColorTranslator
Summary: Translates colors to and from GDI+ Color structures. This class cannot be inherited.
Module: aspose.imaging
Full Name: aspose.imaging.ColorTranslator
Methods
| Name | الوصف |
|---|---|
| from_html(html_color) | يأخذ اللون من لون HTML. |
| from_ole(ole_color) | يأخذ اللون من لون OLE. |
| from_win32(win_32_color) | يأخذ اللون من لون HTML. |
| to_html(c) | ينشئ لون HTML من اللون. |
| to_ole(c) | يحوّل لون OLE إلى لون. |
| to_win32(c) | يحوّل اللون إلى لون win32. |
Method: from_html(html_color) [static]
from_html(html_color)
يأخذ اللون من لون HTML.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| html_color | string | لون HTML. |
Returns
| نوع | الوصف |
|---|---|
| Color | اللون. |
Method: from_ole(ole_color) [static]
from_ole(ole_color)
يأخذ اللون من لون OLE.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| ole_color | int | لون OLE. |
Returns
| نوع | الوصف |
|---|---|
| Color | اللون. |
Method: from_win32(win_32_color) [static]
from_win32(win_32_color)
يأخذ اللون من لون HTML.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| win_32_color | int | لون Win32. |
Returns
| نوع | الوصف |
|---|---|
| Color | اللون. |
Method: to_html(c) [static]
to_html(c)
ينشئ لون HTML من اللون.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| c | Color | فئة اللون. |
Returns
| نوع | الوصف |
|---|---|
| string | لون سلسلة html. |
Method: to_ole(c) [static]
to_ole(c)
يحوّل لون OLE إلى لون.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| c | Color | اللون. |
Returns
| نوع | الوصف |
|---|---|
| int | لون OLE. |
Method: to_win32(c) [static]
to_win32(c)
يحوّل اللون إلى لون win32.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| c | Color | اللون. |
Returns
| نوع | الوصف |
|---|---|
| int | لون win32. |