Class: DatadogAPIClient::V1::HeatgridColorStop
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::HeatgridColorStop
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/heatgrid_color_stop.rb
Overview
A position and color in a continuous gradient.
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
A color string, or two color strings for the light and dark themes, in that order.
-
#position ⇒ Object
readonly
Position in the gradient, from 0 to 100.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#color ⇒ Object
A color string, or two color strings for the light and dark themes, in that order.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/heatgrid_color_stop.rb', line 25 def color @color end |
#position ⇒ Object
Position in the gradient, from 0 to 100.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/heatgrid_color_stop.rb', line 28 def position @position end |