source: vendor/google/apiclient-services/src/Document/GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.8 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Document;
19
20class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo extends \Google\Model
21{
22 protected $backgroundColorType = GoogleTypeColor::class;
23 protected $backgroundColorDataType = '';
24 /**
25 * @var bool
26 */
27 public $bold;
28 /**
29 * @var int
30 */
31 public $fontSize;
32 /**
33 * @var string
34 */
35 public $fontType;
36 /**
37 * @var int
38 */
39 public $fontWeight;
40 /**
41 * @var bool
42 */
43 public $handwritten;
44 /**
45 * @var bool
46 */
47 public $italic;
48 public $letterSpacing;
49 public $pixelFontSize;
50 /**
51 * @var bool
52 */
53 public $smallcaps;
54 /**
55 * @var bool
56 */
57 public $strikeout;
58 /**
59 * @var bool
60 */
61 public $subscript;
62 /**
63 * @var bool
64 */
65 public $superscript;
66 protected $textColorType = GoogleTypeColor::class;
67 protected $textColorDataType = '';
68 /**
69 * @var bool
70 */
71 public $underlined;
72
73 /**
74 * @param GoogleTypeColor
75 */
76 public function setBackgroundColor(GoogleTypeColor $backgroundColor)
77 {
78 $this->backgroundColor = $backgroundColor;
79 }
80 /**
81 * @return GoogleTypeColor
82 */
83 public function getBackgroundColor()
84 {
85 return $this->backgroundColor;
86 }
87 /**
88 * @param bool
89 */
90 public function setBold($bold)
91 {
92 $this->bold = $bold;
93 }
94 /**
95 * @return bool
96 */
97 public function getBold()
98 {
99 return $this->bold;
100 }
101 /**
102 * @param int
103 */
104 public function setFontSize($fontSize)
105 {
106 $this->fontSize = $fontSize;
107 }
108 /**
109 * @return int
110 */
111 public function getFontSize()
112 {
113 return $this->fontSize;
114 }
115 /**
116 * @param string
117 */
118 public function setFontType($fontType)
119 {
120 $this->fontType = $fontType;
121 }
122 /**
123 * @return string
124 */
125 public function getFontType()
126 {
127 return $this->fontType;
128 }
129 /**
130 * @param int
131 */
132 public function setFontWeight($fontWeight)
133 {
134 $this->fontWeight = $fontWeight;
135 }
136 /**
137 * @return int
138 */
139 public function getFontWeight()
140 {
141 return $this->fontWeight;
142 }
143 /**
144 * @param bool
145 */
146 public function setHandwritten($handwritten)
147 {
148 $this->handwritten = $handwritten;
149 }
150 /**
151 * @return bool
152 */
153 public function getHandwritten()
154 {
155 return $this->handwritten;
156 }
157 /**
158 * @param bool
159 */
160 public function setItalic($italic)
161 {
162 $this->italic = $italic;
163 }
164 /**
165 * @return bool
166 */
167 public function getItalic()
168 {
169 return $this->italic;
170 }
171 public function setLetterSpacing($letterSpacing)
172 {
173 $this->letterSpacing = $letterSpacing;
174 }
175 public function getLetterSpacing()
176 {
177 return $this->letterSpacing;
178 }
179 public function setPixelFontSize($pixelFontSize)
180 {
181 $this->pixelFontSize = $pixelFontSize;
182 }
183 public function getPixelFontSize()
184 {
185 return $this->pixelFontSize;
186 }
187 /**
188 * @param bool
189 */
190 public function setSmallcaps($smallcaps)
191 {
192 $this->smallcaps = $smallcaps;
193 }
194 /**
195 * @return bool
196 */
197 public function getSmallcaps()
198 {
199 return $this->smallcaps;
200 }
201 /**
202 * @param bool
203 */
204 public function setStrikeout($strikeout)
205 {
206 $this->strikeout = $strikeout;
207 }
208 /**
209 * @return bool
210 */
211 public function getStrikeout()
212 {
213 return $this->strikeout;
214 }
215 /**
216 * @param bool
217 */
218 public function setSubscript($subscript)
219 {
220 $this->subscript = $subscript;
221 }
222 /**
223 * @return bool
224 */
225 public function getSubscript()
226 {
227 return $this->subscript;
228 }
229 /**
230 * @param bool
231 */
232 public function setSuperscript($superscript)
233 {
234 $this->superscript = $superscript;
235 }
236 /**
237 * @return bool
238 */
239 public function getSuperscript()
240 {
241 return $this->superscript;
242 }
243 /**
244 * @param GoogleTypeColor
245 */
246 public function setTextColor(GoogleTypeColor $textColor)
247 {
248 $this->textColor = $textColor;
249 }
250 /**
251 * @return GoogleTypeColor
252 */
253 public function getTextColor()
254 {
255 return $this->textColor;
256 }
257 /**
258 * @param bool
259 */
260 public function setUnderlined($underlined)
261 {
262 $this->underlined = $underlined;
263 }
264 /**
265 * @return bool
266 */
267 public function getUnderlined()
268 {
269 return $this->underlined;
270 }
271}
272
273// Adding a class alias for backwards compatibility with the previous class name.
274class_alias(GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo::class, 'Google_Service_Document_GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo');
Note: See TracBrowser for help on using the repository browser.