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(KnownColorCategory[], bool)

Enumerates colors defined in KnownColor for the specified color categories.

public static IReadOnlyList<Color> GetKnownColors(KnownColorCategory[] cats, bool onlyVisible = true)

Parameters

cats KnownColorCategory[]
onlyVisible bool

Returns

IReadOnlyList<Color>