Gorgon
Show / Hide Table of Contents

Class ColorPickerService

The service used to allow picking of colors.

Inheritance
object
ColorPickerService
Implements
IColorPickerService
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public class ColorPickerService : IColorPickerService

Methods

| Edit this page View Source

GetColor(GorgonColor)

Function to retrieve a color.

Declaration
public GorgonColor? GetColor(GorgonColor originalColor)
Parameters
Type Name Description
GorgonColor originalColor

The original color being changed.

Returns
Type Description
GorgonColor?

The new color, or null if cancelled.

Implements

IColorPickerService

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author