Class: Google::Apis::SheetsV4::PointStyle
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::PointStyle
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
The style of a point on the chart.
Instance Attribute Summary collapse
-
#shape ⇒ String
The point shape.
-
#size ⇒ Float
The point size.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PointStyle
constructor
A new instance of PointStyle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PointStyle
Returns a new instance of PointStyle.
7676 7677 7678 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#shape ⇒ String
The point shape. If empty or unspecified, a default shape is used.
Corresponds to the JSON property shape
7669 7670 7671 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7669 def shape @shape end |
#size ⇒ Float
The point size. If empty, a default size is used.
Corresponds to the JSON property size
7674 7675 7676 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7674 def size @size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7681 7682 7683 7684 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7681 def update!(**args) @shape = args[:shape] if args.key?(:shape) @size = args[:size] if args.key?(:size) end |