Table of Contents

Method Get

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Get(KnownColor)

Retrieves the Color associated with the specified KnownColor. This method uses a cached collection of colors for improved performance.

public static Color Get(KnownColor kc)

Parameters

kc KnownColor

A value from the KnownColor enumeration representing the color to retrieve.

Returns

Color

The Color corresponding to the specified kc.