source: vendor/google/apiclient-services/src/Contentwarehouse/GoogleCloudDocumentaiV1DocumentStyle.php@ f9c482b

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

Upload new project files

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