17
17
package com .google .api .services .slides .v1 .model ;
18
18
19
19
/**
20
- * The autofit properties of a Shape.
20
+ * The autofit properties of a Shape. This property is only set for shapes that allow text.
21
21
*
22
22
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23
23
* transmitted over HTTP when working with the Google Slides API. For a detailed explanation see:
@@ -33,7 +33,7 @@ public final class Autofit extends com.google.api.client.json.GenericJson {
33
33
* The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED, the autofit
34
34
* type is inherited from a parent placeholder if it exists. The field is automatically set to
35
35
* NONE if a request is made that might affect text fitting within its bounding text box. In this
36
- * case the font_scale is applied to the font_size and the line_spacing_reduction is applied to
36
+ * case, the font_scale is applied to the font_size and the line_spacing_reduction is applied to
37
37
* the line_spacing. Both properties are also reset to default values.
38
38
* The value may be {@code null}.
39
39
*/
@@ -43,7 +43,7 @@ public final class Autofit extends com.google.api.client.json.GenericJson {
43
43
/**
44
44
* The font scale applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this
45
45
* value is the default value of 1. For TEXT_AUTOFIT, this value multiplied by the font_size gives
46
- * the font size that is rendered in the editor. This property is read-only.
46
+ * the font size that's rendered in the editor. This property is read-only.
47
47
* The value may be {@code null}.
48
48
*/
49
49
@ com .google .api .client .util .Key
@@ -52,7 +52,7 @@ public final class Autofit extends com.google.api.client.json.GenericJson {
52
52
/**
53
53
* The line spacing reduction applied to the shape. For shapes with autofit_type NONE or
54
54
* SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT, this value subtracted
55
- * from the line_spacing gives the line spacing that is rendered in the editor. This property is
55
+ * from the line_spacing gives the line spacing that's rendered in the editor. This property is
56
56
* read-only.
57
57
* The value may be {@code null}.
58
58
*/
@@ -63,7 +63,7 @@ public final class Autofit extends com.google.api.client.json.GenericJson {
63
63
* The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED, the autofit
64
64
* type is inherited from a parent placeholder if it exists. The field is automatically set to
65
65
* NONE if a request is made that might affect text fitting within its bounding text box. In this
66
- * case the font_scale is applied to the font_size and the line_spacing_reduction is applied to
66
+ * case, the font_scale is applied to the font_size and the line_spacing_reduction is applied to
67
67
* the line_spacing. Both properties are also reset to default values.
68
68
* @return value or {@code null} for none
69
69
*/
@@ -75,7 +75,7 @@ public java.lang.String getAutofitType() {
75
75
* The autofit type of the shape. If the autofit type is AUTOFIT_TYPE_UNSPECIFIED, the autofit
76
76
* type is inherited from a parent placeholder if it exists. The field is automatically set to
77
77
* NONE if a request is made that might affect text fitting within its bounding text box. In this
78
- * case the font_scale is applied to the font_size and the line_spacing_reduction is applied to
78
+ * case, the font_scale is applied to the font_size and the line_spacing_reduction is applied to
79
79
* the line_spacing. Both properties are also reset to default values.
80
80
* @param autofitType autofitType or {@code null} for none
81
81
*/
@@ -87,7 +87,7 @@ public Autofit setAutofitType(java.lang.String autofitType) {
87
87
/**
88
88
* The font scale applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this
89
89
* value is the default value of 1. For TEXT_AUTOFIT, this value multiplied by the font_size gives
90
- * the font size that is rendered in the editor. This property is read-only.
90
+ * the font size that's rendered in the editor. This property is read-only.
91
91
* @return value or {@code null} for none
92
92
*/
93
93
public java .lang .Float getFontScale () {
@@ -97,7 +97,7 @@ public java.lang.Float getFontScale() {
97
97
/**
98
98
* The font scale applied to the shape. For shapes with autofit_type NONE or SHAPE_AUTOFIT, this
99
99
* value is the default value of 1. For TEXT_AUTOFIT, this value multiplied by the font_size gives
100
- * the font size that is rendered in the editor. This property is read-only.
100
+ * the font size that's rendered in the editor. This property is read-only.
101
101
* @param fontScale fontScale or {@code null} for none
102
102
*/
103
103
public Autofit setFontScale (java .lang .Float fontScale ) {
@@ -108,7 +108,7 @@ public Autofit setFontScale(java.lang.Float fontScale) {
108
108
/**
109
109
* The line spacing reduction applied to the shape. For shapes with autofit_type NONE or
110
110
* SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT, this value subtracted
111
- * from the line_spacing gives the line spacing that is rendered in the editor. This property is
111
+ * from the line_spacing gives the line spacing that's rendered in the editor. This property is
112
112
* read-only.
113
113
* @return value or {@code null} for none
114
114
*/
@@ -119,7 +119,7 @@ public java.lang.Float getLineSpacingReduction() {
119
119
/**
120
120
* The line spacing reduction applied to the shape. For shapes with autofit_type NONE or
121
121
* SHAPE_AUTOFIT, this value is the default value of 0. For TEXT_AUTOFIT, this value subtracted
122
- * from the line_spacing gives the line spacing that is rendered in the editor. This property is
122
+ * from the line_spacing gives the line spacing that's rendered in the editor. This property is
123
123
* read-only.
124
124
* @param lineSpacingReduction lineSpacingReduction or {@code null} for none
125
125
*/
0 commit comments