File tree Expand file tree Collapse file tree 2 files changed +219
-225
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media Expand file tree Collapse file tree 2 files changed +219
-225
lines changed Original file line number Diff line number Diff line change 11// Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the MIT license.
3- // See the LICENSE file in the project root for more information.
43
5- namespace System . Windows . Media
4+ namespace System . Windows . Media ;
5+
6+ /// <summary>
7+ /// Encapsulates color kinds as categorized via <see cref="KnownColors.MatchColor(ReadOnlySpan{char})"/>
8+ /// </summary>
9+ internal enum ColorKind
610{
711 /// <summary>
8- /// Encapsulates color kinds as categorized via <see cref="KnownColors.MatchColor(ReadOnlySpan{char})"/>
12+ /// Unused but it is the default value.
13+ /// </summary>
14+ Unknown = 0 ,
15+ /// <summary>
16+ /// Just a standard #HEXCOLOR format.
17+ /// </summary>
18+ NumericColor = 1 ,
19+ /// <summary>
20+ /// Color prefixed with "ContextColor ".
21+ /// </summary>
22+ ContextColor = 2 ,
23+ /// <summary>
24+ /// Color prefixed with "sc#".
25+ /// </summary>
26+ ScRgbColor = 3 ,
27+ /// <summary>
28+ /// Fallback if none of the previous ones matched.
929 /// </summary>
10- internal enum ColorKind
11- {
12- /// <summary>
13- /// Unused but it is the default value.
14- /// </summary>
15- Unknown = 0 ,
16- /// <summary>
17- /// Just a standard #HEXCOLOR format.
18- /// </summary>
19- NumericColor = 1 ,
20- /// <summary>
21- /// Color prefixed with "ContextColor ".
22- /// </summary>
23- ContextColor = 2 ,
24- /// <summary>
25- /// Color prefixed with "sc#".
26- /// </summary>
27- ScRgbColor = 3 ,
28- /// <summary>
29- /// Fallback if none of the previous ones matched.
30- /// </summary>
31- KnownColor = 4
32- }
30+ KnownColor = 4
3331}
You can’t perform that action at this time.
0 commit comments