Table of Contents

Method DebugColorAssert

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

DebugColorAssert(Color, string?)

Checks whether Color parameter is ok.

[Conditional("DEBUG")]
public static void DebugColorAssert(Color value, string? paramName = null)

Parameters

value Color

Parameter value.

paramName string

Parameter name.

Exceptions

Exception

Raised if parameter is not ok.