Class ColorTranslator

Class ColorTranslator

Il nome: Aspose.Imaging Assemblea: Aspose.Imaging.dll (25.4.0)

Traduzione di colori in e da strutture GDI+ Color.Questa classe non può essere ereditata.

public sealed class ColorTranslator

Inheritance

object ColorTranslator

I membri ereditari

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Methods

FromHtml(String)

Prende colore dal colore HTML.

public static Color FromHtml(string htmlColor)

Parameters

htmlColor string

Il colore HTML.

Returns

Color

Il colore .

FromOle(int)

Prende il colore dall’olio.

public static Color FromOle(int oleColor)

Parameters

oleColor int

Il suo colore.

Returns

Color

Il colore .

FromWin32(int)

Prende colore dal colore HTML.

public static Color FromWin32(int win32Color)

Parameters

win32Color int

Win32 di colore.

Returns

Color

Il colore .

ToHtml(Color)

Crea il colore HTML dal colore.

public static string ToHtml(Color c)

Parameters

c Color

La classe dei colori.

Returns

string

Il colore della string html.

ToOle(Color)

tradurre il colore in colore.

public static int ToOle(Color c)

Parameters

c Color

Il colore .

Returns

int

Il colore dell’olio.

ToWin32(Color)

Traduzione del colore in win32 colore.

public static int ToWin32(Color c)

Parameters

c Color

Il colore .

Returns

int

Il colore Win32

 Italiano