Class: Google::Privacy::Dlp::V2::Color

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Represents a color in the RGB color space.

Instance Attribute Summary collapse

Instance Attribute Details

#blueFloat

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

Returns:

  • (Float)

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



315
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 315

class Color; end

#greenFloat

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

Returns:

  • (Float)

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



315
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 315

class Color; end

#redFloat

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

Returns:

  • (Float)

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



315
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 315

class Color; end