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 Shadow extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $alignment; 26 /** 27 * @var float 28 */ 29 public $alpha; 30 protected $blurRadiusType = Dimension::class; 31 protected $blurRadiusDataType = ''; 32 protected $colorType = OpaqueColor::class; 33 protected $colorDataType = ''; 34 /** 35 * @var string 36 */ 37 public $propertyState; 38 /** 39 * @var bool 40 */ 41 public $rotateWithShape; 42 protected $transformType = AffineTransform::class; 43 protected $transformDataType = ''; 44 /** 45 * @var string 46 */ 47 public $type; 48 49 /** 50 * @param string 51 */ 52 public function setAlignment($alignment) 53 { 54 $this->alignment = $alignment; 55 } 56 /** 57 * @return string 58 */ 59 public function getAlignment() 60 { 61 return $this->alignment; 62 } 63 /** 64 * @param float 65 */ 66 public function setAlpha($alpha) 67 { 68 $this->alpha = $alpha; 69 } 70 /** 71 * @return float 72 */ 73 public function getAlpha() 74 { 75 return $this->alpha; 76 } 77 /** 78 * @param Dimension 79 */ 80 public function setBlurRadius(Dimension $blurRadius) 81 { 82 $this->blurRadius = $blurRadius; 83 } 84 /** 85 * @return Dimension 86 */ 87 public function getBlurRadius() 88 { 89 return $this->blurRadius; 90 } 91 /** 92 * @param OpaqueColor 93 */ 94 public function setColor(OpaqueColor $color) 95 { 96 $this->color = $color; 97 } 98 /** 99 * @return OpaqueColor 100 */ 101 public function getColor() 102 { 103 return $this->color; 104 } 105 /** 106 * @param string 107 */ 108 public function setPropertyState($propertyState) 109 { 110 $this->propertyState = $propertyState; 111 } 112 /** 113 * @return string 114 */ 115 public function getPropertyState() 116 { 117 return $this->propertyState; 118 } 119 /** 120 * @param bool 121 */ 122 public function setRotateWithShape($rotateWithShape) 123 { 124 $this->rotateWithShape = $rotateWithShape; 125 } 126 /** 127 * @return bool 128 */ 129 public function getRotateWithShape() 130 { 131 return $this->rotateWithShape; 132 } 133 /** 134 * @param AffineTransform 135 */ 136 public function setTransform(AffineTransform $transform) 137 { 138 $this->transform = $transform; 139 } 140 /** 141 * @return AffineTransform 142 */ 143 public function getTransform() 144 { 145 return $this->transform; 146 } 147 /** 148 * @param string 149 */ 150 public function setType($type) 151 { 152 $this->type = $type; 153 } 154 /** 155 * @return string 156 */ 157 public function getType() 158 { 159 return $this->type; 160 } 161} 162 163// Adding a class alias for backwards compatibility with the previous class name. 164class_alias(Shadow::class, 'Google_Service_Slides_Shadow'); 165