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 18class Google_Service_Slides_TextStyle extends Google_Model 19{ 20 protected $backgroundColorType = 'Google_Service_Slides_OptionalColor'; 21 protected $backgroundColorDataType = ''; 22 public $baselineOffset; 23 public $bold; 24 public $fontFamily; 25 protected $fontSizeType = 'Google_Service_Slides_Dimension'; 26 protected $fontSizeDataType = ''; 27 protected $foregroundColorType = 'Google_Service_Slides_OptionalColor'; 28 protected $foregroundColorDataType = ''; 29 public $italic; 30 protected $linkType = 'Google_Service_Slides_Link'; 31 protected $linkDataType = ''; 32 public $smallCaps; 33 public $strikethrough; 34 public $underline; 35 protected $weightedFontFamilyType = 'Google_Service_Slides_WeightedFontFamily'; 36 protected $weightedFontFamilyDataType = ''; 37 38 /** 39 * @param Google_Service_Slides_OptionalColor 40 */ 41 public function setBackgroundColor(Google_Service_Slides_OptionalColor $backgroundColor) 42 { 43 $this->backgroundColor = $backgroundColor; 44 } 45 /** 46 * @return Google_Service_Slides_OptionalColor 47 */ 48 public function getBackgroundColor() 49 { 50 return $this->backgroundColor; 51 } 52 public function setBaselineOffset($baselineOffset) 53 { 54 $this->baselineOffset = $baselineOffset; 55 } 56 public function getBaselineOffset() 57 { 58 return $this->baselineOffset; 59 } 60 public function setBold($bold) 61 { 62 $this->bold = $bold; 63 } 64 public function getBold() 65 { 66 return $this->bold; 67 } 68 public function setFontFamily($fontFamily) 69 { 70 $this->fontFamily = $fontFamily; 71 } 72 public function getFontFamily() 73 { 74 return $this->fontFamily; 75 } 76 /** 77 * @param Google_Service_Slides_Dimension 78 */ 79 public function setFontSize(Google_Service_Slides_Dimension $fontSize) 80 { 81 $this->fontSize = $fontSize; 82 } 83 /** 84 * @return Google_Service_Slides_Dimension 85 */ 86 public function getFontSize() 87 { 88 return $this->fontSize; 89 } 90 /** 91 * @param Google_Service_Slides_OptionalColor 92 */ 93 public function setForegroundColor(Google_Service_Slides_OptionalColor $foregroundColor) 94 { 95 $this->foregroundColor = $foregroundColor; 96 } 97 /** 98 * @return Google_Service_Slides_OptionalColor 99 */ 100 public function getForegroundColor() 101 { 102 return $this->foregroundColor; 103 } 104 public function setItalic($italic) 105 { 106 $this->italic = $italic; 107 } 108 public function getItalic() 109 { 110 return $this->italic; 111 } 112 /** 113 * @param Google_Service_Slides_Link 114 */ 115 public function setLink(Google_Service_Slides_Link $link) 116 { 117 $this->link = $link; 118 } 119 /** 120 * @return Google_Service_Slides_Link 121 */ 122 public function getLink() 123 { 124 return $this->link; 125 } 126 public function setSmallCaps($smallCaps) 127 { 128 $this->smallCaps = $smallCaps; 129 } 130 public function getSmallCaps() 131 { 132 return $this->smallCaps; 133 } 134 public function setStrikethrough($strikethrough) 135 { 136 $this->strikethrough = $strikethrough; 137 } 138 public function getStrikethrough() 139 { 140 return $this->strikethrough; 141 } 142 public function setUnderline($underline) 143 { 144 $this->underline = $underline; 145 } 146 public function getUnderline() 147 { 148 return $this->underline; 149 } 150 /** 151 * @param Google_Service_Slides_WeightedFontFamily 152 */ 153 public function setWeightedFontFamily(Google_Service_Slides_WeightedFontFamily $weightedFontFamily) 154 { 155 $this->weightedFontFamily = $weightedFontFamily; 156 } 157 /** 158 * @return Google_Service_Slides_WeightedFontFamily 159 */ 160 public function getWeightedFontFamily() 161 { 162 return $this->weightedFontFamily; 163 } 164} 165