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 |
|
---|
18 | namespace Google\Service\Slides;
|
---|
19 |
|
---|
20 | class AffineTransform extends \Google\Model
|
---|
21 | {
|
---|
22 | public $scaleX;
|
---|
23 | public $scaleY;
|
---|
24 | public $shearX;
|
---|
25 | public $shearY;
|
---|
26 | public $translateX;
|
---|
27 | public $translateY;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $unit;
|
---|
32 |
|
---|
33 | public function setScaleX($scaleX)
|
---|
34 | {
|
---|
35 | $this->scaleX = $scaleX;
|
---|
36 | }
|
---|
37 | public function getScaleX()
|
---|
38 | {
|
---|
39 | return $this->scaleX;
|
---|
40 | }
|
---|
41 | public function setScaleY($scaleY)
|
---|
42 | {
|
---|
43 | $this->scaleY = $scaleY;
|
---|
44 | }
|
---|
45 | public function getScaleY()
|
---|
46 | {
|
---|
47 | return $this->scaleY;
|
---|
48 | }
|
---|
49 | public function setShearX($shearX)
|
---|
50 | {
|
---|
51 | $this->shearX = $shearX;
|
---|
52 | }
|
---|
53 | public function getShearX()
|
---|
54 | {
|
---|
55 | return $this->shearX;
|
---|
56 | }
|
---|
57 | public function setShearY($shearY)
|
---|
58 | {
|
---|
59 | $this->shearY = $shearY;
|
---|
60 | }
|
---|
61 | public function getShearY()
|
---|
62 | {
|
---|
63 | return $this->shearY;
|
---|
64 | }
|
---|
65 | public function setTranslateX($translateX)
|
---|
66 | {
|
---|
67 | $this->translateX = $translateX;
|
---|
68 | }
|
---|
69 | public function getTranslateX()
|
---|
70 | {
|
---|
71 | return $this->translateX;
|
---|
72 | }
|
---|
73 | public function setTranslateY($translateY)
|
---|
74 | {
|
---|
75 | $this->translateY = $translateY;
|
---|
76 | }
|
---|
77 | public function getTranslateY()
|
---|
78 | {
|
---|
79 | return $this->translateY;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setUnit($unit)
|
---|
85 | {
|
---|
86 | $this->unit = $unit;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getUnit()
|
---|
92 | {
|
---|
93 | return $this->unit;
|
---|
94 | }
|
---|
95 | }
|
---|
96 |
|
---|
97 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
98 | class_alias(AffineTransform::class, 'Google_Service_Slides_AffineTransform');
|
---|