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 GoogleCloudDocumentaiV1beta1DocumentStyle extends \Google\Model
21{
22  protected $backgroundColorType = GoogleTypeColor::class;
23  protected $backgroundColorDataType = '';
24  protected $colorType = GoogleTypeColor::class;
25  protected $colorDataType = '';
26  protected $fontSizeType = GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::class;
27  protected $fontSizeDataType = '';
28  /**
29   * @var string
30   */
31  public $fontWeight;
32  protected $textAnchorType = GoogleCloudDocumentaiV1beta1DocumentTextAnchor::class;
33  protected $textAnchorDataType = '';
34  /**
35   * @var string
36   */
37  public $textDecoration;
38  /**
39   * @var string
40   */
41  public $textStyle;
42
43  /**
44   * @param GoogleTypeColor
45   */
46  public function setBackgroundColor(GoogleTypeColor $backgroundColor)
47  {
48    $this->backgroundColor = $backgroundColor;
49  }
50  /**
51   * @return GoogleTypeColor
52   */
53  public function getBackgroundColor()
54  {
55    return $this->backgroundColor;
56  }
57  /**
58   * @param GoogleTypeColor
59   */
60  public function setColor(GoogleTypeColor $color)
61  {
62    $this->color = $color;
63  }
64  /**
65   * @return GoogleTypeColor
66   */
67  public function getColor()
68  {
69    return $this->color;
70  }
71  /**
72   * @param GoogleCloudDocumentaiV1beta1DocumentStyleFontSize
73   */
74  public function setFontSize(GoogleCloudDocumentaiV1beta1DocumentStyleFontSize $fontSize)
75  {
76    $this->fontSize = $fontSize;
77  }
78  /**
79   * @return GoogleCloudDocumentaiV1beta1DocumentStyleFontSize
80   */
81  public function getFontSize()
82  {
83    return $this->fontSize;
84  }
85  /**
86   * @param string
87   */
88  public function setFontWeight($fontWeight)
89  {
90    $this->fontWeight = $fontWeight;
91  }
92  /**
93   * @return string
94   */
95  public function getFontWeight()
96  {
97    return $this->fontWeight;
98  }
99  /**
100   * @param GoogleCloudDocumentaiV1beta1DocumentTextAnchor
101   */
102  public function setTextAnchor(GoogleCloudDocumentaiV1beta1DocumentTextAnchor $textAnchor)
103  {
104    $this->textAnchor = $textAnchor;
105  }
106  /**
107   * @return GoogleCloudDocumentaiV1beta1DocumentTextAnchor
108   */
109  public function getTextAnchor()
110  {
111    return $this->textAnchor;
112  }
113  /**
114   * @param string
115   */
116  public function setTextDecoration($textDecoration)
117  {
118    $this->textDecoration = $textDecoration;
119  }
120  /**
121   * @return string
122   */
123  public function getTextDecoration()
124  {
125    return $this->textDecoration;
126  }
127  /**
128   * @param string
129   */
130  public function setTextStyle($textStyle)
131  {
132    $this->textStyle = $textStyle;
133  }
134  /**
135   * @return string
136   */
137  public function getTextStyle()
138  {
139    return $this->textStyle;
140  }
141}
142
143// Adding a class alias for backwards compatibility with the previous class name.
144class_alias(GoogleCloudDocumentaiV1beta1DocumentStyle::class, 'Google_Service_Document_GoogleCloudDocumentaiV1beta1DocumentStyle');
145