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\Slides;
19
20class ImageProperties extends \Google\Model
21{
22  /**
23   * @var float
24   */
25  public $brightness;
26  /**
27   * @var float
28   */
29  public $contrast;
30  protected $cropPropertiesType = CropProperties::class;
31  protected $cropPropertiesDataType = '';
32  protected $linkType = Link::class;
33  protected $linkDataType = '';
34  protected $outlineType = Outline::class;
35  protected $outlineDataType = '';
36  protected $recolorType = Recolor::class;
37  protected $recolorDataType = '';
38  protected $shadowType = Shadow::class;
39  protected $shadowDataType = '';
40  /**
41   * @var float
42   */
43  public $transparency;
44
45  /**
46   * @param float
47   */
48  public function setBrightness($brightness)
49  {
50    $this->brightness = $brightness;
51  }
52  /**
53   * @return float
54   */
55  public function getBrightness()
56  {
57    return $this->brightness;
58  }
59  /**
60   * @param float
61   */
62  public function setContrast($contrast)
63  {
64    $this->contrast = $contrast;
65  }
66  /**
67   * @return float
68   */
69  public function getContrast()
70  {
71    return $this->contrast;
72  }
73  /**
74   * @param CropProperties
75   */
76  public function setCropProperties(CropProperties $cropProperties)
77  {
78    $this->cropProperties = $cropProperties;
79  }
80  /**
81   * @return CropProperties
82   */
83  public function getCropProperties()
84  {
85    return $this->cropProperties;
86  }
87  /**
88   * @param Link
89   */
90  public function setLink(Link $link)
91  {
92    $this->link = $link;
93  }
94  /**
95   * @return Link
96   */
97  public function getLink()
98  {
99    return $this->link;
100  }
101  /**
102   * @param Outline
103   */
104  public function setOutline(Outline $outline)
105  {
106    $this->outline = $outline;
107  }
108  /**
109   * @return Outline
110   */
111  public function getOutline()
112  {
113    return $this->outline;
114  }
115  /**
116   * @param Recolor
117   */
118  public function setRecolor(Recolor $recolor)
119  {
120    $this->recolor = $recolor;
121  }
122  /**
123   * @return Recolor
124   */
125  public function getRecolor()
126  {
127    return $this->recolor;
128  }
129  /**
130   * @param Shadow
131   */
132  public function setShadow(Shadow $shadow)
133  {
134    $this->shadow = $shadow;
135  }
136  /**
137   * @return Shadow
138   */
139  public function getShadow()
140  {
141    return $this->shadow;
142  }
143  /**
144   * @param float
145   */
146  public function setTransparency($transparency)
147  {
148    $this->transparency = $transparency;
149  }
150  /**
151   * @return float
152   */
153  public function getTransparency()
154  {
155    return $this->transparency;
156  }
157}
158
159// Adding a class alias for backwards compatibility with the previous class name.
160class_alias(ImageProperties::class, 'Google_Service_Slides_ImageProperties');
161