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
18class Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentStyle extends Google_Model
19{
20  protected $backgroundColorType = 'Google_Service_Document_GoogleTypeColor';
21  protected $backgroundColorDataType = '';
22  protected $colorType = 'Google_Service_Document_GoogleTypeColor';
23  protected $colorDataType = '';
24  protected $fontSizeType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize';
25  protected $fontSizeDataType = '';
26  public $fontWeight;
27  protected $textAnchorType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentTextAnchor';
28  protected $textAnchorDataType = '';
29  public $textDecoration;
30  public $textStyle;
31
32  /**
33   * @param Google_Service_Document_GoogleTypeColor
34   */
35  public function setBackgroundColor(Google_Service_Document_GoogleTypeColor $backgroundColor)
36  {
37    $this->backgroundColor = $backgroundColor;
38  }
39  /**
40   * @return Google_Service_Document_GoogleTypeColor
41   */
42  public function getBackgroundColor()
43  {
44    return $this->backgroundColor;
45  }
46  /**
47   * @param Google_Service_Document_GoogleTypeColor
48   */
49  public function setColor(Google_Service_Document_GoogleTypeColor $color)
50  {
51    $this->color = $color;
52  }
53  /**
54   * @return Google_Service_Document_GoogleTypeColor
55   */
56  public function getColor()
57  {
58    return $this->color;
59  }
60  /**
61   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize
62   */
63  public function setFontSize(Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize $fontSize)
64  {
65    $this->fontSize = $fontSize;
66  }
67  /**
68   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentStyleFontSize
69   */
70  public function getFontSize()
71  {
72    return $this->fontSize;
73  }
74  public function setFontWeight($fontWeight)
75  {
76    $this->fontWeight = $fontWeight;
77  }
78  public function getFontWeight()
79  {
80    return $this->fontWeight;
81  }
82  /**
83   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentTextAnchor
84   */
85  public function setTextAnchor(Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentTextAnchor $textAnchor)
86  {
87    $this->textAnchor = $textAnchor;
88  }
89  /**
90   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentTextAnchor
91   */
92  public function getTextAnchor()
93  {
94    return $this->textAnchor;
95  }
96  public function setTextDecoration($textDecoration)
97  {
98    $this->textDecoration = $textDecoration;
99  }
100  public function getTextDecoration()
101  {
102    return $this->textDecoration;
103  }
104  public function setTextStyle($textStyle)
105  {
106    $this->textStyle = $textStyle;
107  }
108  public function getTextStyle()
109  {
110    return $this->textStyle;
111  }
112}
113