فئة 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_colorstringلون HTML.

Returns

نوعالوصف
Colorاللون.

Method: from_ole(ole_color) [static]

 from_ole(ole_color) 

يأخذ اللون من لون OLE.

Parameters:

معاملنوعالوصف
ole_colorintلون OLE.

Returns

نوعالوصف
Colorاللون.

Method: from_win32(win_32_color) [static]

 from_win32(win_32_color) 

يأخذ اللون من لون HTML.

Parameters:

معاملنوعالوصف
win_32_colorintلون Win32.

Returns

نوعالوصف
Colorاللون.

Method: to_html(c) [static]

 to_html(c) 

ينشئ لون HTML من اللون.

Parameters:

معاملنوعالوصف
cColorفئة اللون.

Returns

نوعالوصف
stringلون سلسلة html.

Method: to_ole(c) [static]

 to_ole(c) 

يحوّل لون OLE إلى لون.

Parameters:

معاملنوعالوصف
cColorاللون.

Returns

نوعالوصف
intلون OLE.

Method: to_win32(c) [static]

 to_win32(c) 

يحوّل اللون إلى لون win32.

Parameters:

معاملنوعالوصف
cColorاللون.

Returns

نوعالوصف
intلون win32.