ColorUtility Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides a collection of methods for working with colors.

Inheritance Hierarchy

System. . :: . .Object

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)


Public NotInheritable Class ColorUtility
public static class ColorUtility
public ref class ColorUtility abstract sealed
type ColorUtility =  class end
public final class ColorUtility

The ColorUtility type exposes the following members.


  Name Description
Public methodStatic member ColorFromRGB Builds a Color object from red, green, and blue values.
Public methodStatic member GetBValue Extracts a blue value from a specified color.
Public methodStatic member GetGValue Extracts a green value from a specified color.
Public methodStatic member GetRValue Extracts a red value from a specified color.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.SPOT.Presentation.Media Namespace