GraphColorUtility.cs declarations
Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-graph/Editor/GraphView/Styles/GraphColorUtility.cs
Source file hash: sha256:35480dffbd7e11d85b4bda3bb5e77d9be3b93760faf22f5b365bc23e56daa310
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: GraphColorUtility
Section titled “Type: GraphColorUtility”Original lines: 11-213
Declaration hash: sha256:361555aae8ae988a17a4c730af69b43eb4b03da0bdbb6ecf8496e16568614ca1
public static class GraphColorUtility{}Property: BodyLabelColor
Section titled “Property: BodyLabelColor”Original lines: 23
Declaration hash: sha256:b370466cb24ff4c87dff622dbcd994ed19cd08479e7b514857b4c6475fe43a60
public static Color BodyLabelColor { get; }Method: CalculateLuminance(Color color)
Section titled “Method: CalculateLuminance(Color color)”Original lines: 29-38
Declaration hash: sha256:de56d6a78156090c175357fb683b5afb4b5b218655cfe27b2246c53cb81b04a5
public static float CalculateLuminance(Color color);Method: GetContrastColor(Color backgroundColor)
Section titled “Method: GetContrastColor(Color backgroundColor)”Original lines: 46-53
Declaration hash: sha256:f8e4d8101b89f3313262530ceb98004999d7ccae16b033d909d4614da0f3f75a
public static Color GetContrastColor(Color backgroundColor);Method: GetDataTypeColor(string typeName)
Section titled “Method: GetDataTypeColor(string typeName)”Original lines: 58-62
Declaration hash: sha256:eb7a827dc86f1672b176bc2d2685cc6e5e60f6e85799ac433f45ac46031637eb
public static Color GetDataTypeColor(string typeName);Method: GetCategoryColor(string category)
Section titled “Method: GetCategoryColor(string category)”Original lines: 67-71
Declaration hash: sha256:1b6ba87543a08a7b11ecf9ef3ad0b9427604b4b024416faf6487992bade84fba
public static Color GetCategoryColor(string category);Method: DarkenColor(Color color, float factor)
Section titled “Method: DarkenColor(Color color, float factor)”Original lines: 77-86
Declaration hash: sha256:6a6a001e1cdf675b0aa5fecf5210dd3aabaa732ec0522d2bde2ccab9bbdd7de3
public static Color DarkenColor(Color color, float factor);Method: ParseHex(string hex)
Section titled “Method: ParseHex(string hex)”Original lines: 92-116
Declaration hash: sha256:05b269c3862afd0c854f446b5330550aeb30f38e22c44944dfc6c132c008f65e
public static Color ParseHex(string hex);Property: DefaultHeaderColor
Section titled “Property: DefaultHeaderColor”Original lines: 122
Declaration hash: sha256:7761022779e6f17fb0cf70212872ee49a7826622bc5584d3021157795757ce69
public static Color DefaultHeaderColor { get; }Property: DefaultBodyColor
Section titled “Property: DefaultBodyColor”Original lines: 127
Declaration hash: sha256:b8422fab6524bbfcb19e7c62298beede1d50b684b613bd98d3f3b241cb3c50a4
public static Color DefaultBodyColor { get; }Field: ExecutionFlowColor
Section titled “Field: ExecutionFlowColor”Original lines: 142
Declaration hash: sha256:ad4c946df492eba52f5a66213e460a9b0e175058b7a52399d87a1812466f1ef0
public static readonly Color ExecutionFlowColor;Field: EventDelegateColor
Section titled “Field: EventDelegateColor”Original lines: 155
Declaration hash: sha256:ca11d1012ecf84dc93906487e58e2fc50899ef64b98ddcc46057261f891aadf5
public static readonly Color EventDelegateColor;Field: GetVariablePillHeaderPinColor
Section titled “Field: GetVariablePillHeaderPinColor”Original lines: 164
Declaration hash: sha256:f8867388d677afdb8cc0fda98919eb3bf2db84f190a16561a60babe258e73b77
public static readonly Color GetVariablePillHeaderPinColor;Field: EyebrowChipBackgroundColor
Section titled “Field: EyebrowChipBackgroundColor”Original lines: 171
Declaration hash: sha256:3c9632a61622397c305b41908928ef93441e73f4b04199e1121732990cd4811c
public static readonly Color EyebrowChipBackgroundColor;Field: EyebrowChipTextColor
Section titled “Field: EyebrowChipTextColor”Original lines: 177
Declaration hash: sha256:55566e07f4326820beb170c64a70358feb1c452cd656395131ef98a1deb54aa6
public static readonly Color EyebrowChipTextColor;Field: PillPinOutlineColor
Section titled “Field: PillPinOutlineColor”Original lines: 184
Declaration hash: sha256:c3b14b309178b0734f83747530eea4d7acaa24acc08cd85eb2b19a99d1f35a54
public static readonly Color PillPinOutlineColor;Field: PillPinOutlineWidth
Section titled “Field: PillPinOutlineWidth”Original lines: 186
Declaration hash: sha256:cf720aa75a58f1471a8c97ac9dd74ec902e5217340f3ccad683b61e5cb6ce3fd
public const float PillPinOutlineWidth = 1.25f;Field: UnsupportedIndicatorColor
Section titled “Field: UnsupportedIndicatorColor”Original lines: 191
Declaration hash: sha256:b7ea3ccb7cd9fa15a2890ffeb22ac4048903c716b631d68e13817f2c022c9ba1
public static readonly Color UnsupportedIndicatorColor;Field: UnsupportedCardBodyColor
Section titled “Field: UnsupportedCardBodyColor”Original lines: 197
Declaration hash: sha256:ac628f4548d2dd7e1c566139c427fe03643f0e1558f4ac66d1fc54d2417a99fe
public static readonly Color UnsupportedCardBodyColor;Field: UnsupportedGlyphColor
Section titled “Field: UnsupportedGlyphColor”Original lines: 202
Declaration hash: sha256:94a2308cb261b06d3e645b309e7d3eafea2ef168df4486bcd0960be93c764f76
public static readonly Color UnsupportedGlyphColor;Field: UnsupportedGlyphBackgroundColor
Section titled “Field: UnsupportedGlyphBackgroundColor”Original lines: 207
Declaration hash: sha256:cfe407ca7f4f093f1b947301355346e712ba6394a9017e407f1e7ea98a3b21d7
public static readonly Color UnsupportedGlyphBackgroundColor;Field: GradientLightenFactor
Section titled “Field: GradientLightenFactor”Original lines: 212
Declaration hash: sha256:ad6a630e50606b26b6cb386ac6b76087f9e28aaa92c45453f8b16dd36a108261
public const float GradientLightenFactor = 0.3f;Type: ColorExtensions
Section titled “Type: ColorExtensions”Original lines: 218-232
Declaration hash: sha256:ed0845c24ed13bb0b4254b7ac86993cee10c97a1ed510a995c3b92159c26a08d
public static class ColorExtensions{}Method: ToUnityColor(RgbaColor rgba)
Section titled “Method: ToUnityColor(RgbaColor rgba)”Original lines: 223-231
Declaration hash: sha256:c8f77ac03256896603e8c51b20089961009a7f043bc81cefeb5cd84e553b41c4
public static Color ToUnityColor(this RgbaColor rgba);