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.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Color()
public Color()
Color(Color)
public Color(Color other)
Parameter | |
---|---|
Name | Description |
other |
Color |
Properties
Blue
public float Blue { get; set; }
The amount of blue in the color as a value in the interval [0, 1].
Property Value | |
---|---|
Type | Description |
float |
Green
public float Green { get; set; }
The amount of green in the color as a value in the interval [0, 1].
Property Value | |
---|---|
Type | Description |
float |
Red
public float Red { get; set; }
The amount of red in the color as a value in the interval [0, 1].
Property Value | |
---|---|
Type | Description |
float |