Table of Contents

Method GetKnownColors

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

GetKnownColors()

Enumerates colors defined in KnownColor.

public static IReadOnlyList<Color> GetKnownColors()

Returns

IReadOnlyList<Color>

GetKnownColors(params KnownColorCategory[])

Enumerates colors defined in KnownColor for the specified color categories.

public static IReadOnlyList<Color> GetKnownColors(params KnownColorCategory[] cats)

Parameters

cats KnownColorCategory[]

Returns

IReadOnlyList<Color>