Google Cloud Data Loss Prevention v2 API - Class Color (4.4.0)

public sealed class Color : IMessage<Color>, IEquatable<Color>, IDeepCloneable<Color>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Color.

Represents a color in the RGB color space.

Inheritance

Object > Color

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

Color()

public Color()

Color(Color)

public Color(Color other)
Parameter
NameDescription
otherColor

Properties

Blue

public float Blue { get; set; }

The amount of blue in the color as a value in the interval [0, 1].

Property Value
TypeDescription
Single

Green

public float Green { get; set; }

The amount of green in the color as a value in the interval [0, 1].

Property Value
TypeDescription
Single

Red

public float Red { get; set; }

The amount of red in the color as a value in the interval [0, 1].

Property Value
TypeDescription
Single