| 1 | <?php |
||
| 8 | class CloudWord |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var int |
||
| 12 | * @JMS\Type("integer") |
||
| 13 | */ |
||
| 14 | protected $size; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var int |
||
| 18 | * @JMS\Type("integer") |
||
| 19 | */ |
||
| 20 | protected $angle; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | * @JMS\Type("string") |
||
| 25 | */ |
||
| 26 | protected $color; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | * @JMS\Type("string") |
||
| 31 | */ |
||
| 32 | protected $text; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var array |
||
| 36 | * @JMS\Type("array") |
||
| 37 | */ |
||
| 38 | protected $position; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var Box |
||
| 42 | * @JMS\Type("SixtyNine\DataTypes\Box") |
||
| 43 | */ |
||
| 44 | protected $box; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @var bool |
||
| 48 | * @JMS\Type("boolean") |
||
| 49 | */ |
||
| 50 | protected $isVisible; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var Cloud |
||
| 54 | * @JMS\Type("SixtyNine\Cloud\Model\Cloud") |
||
| 55 | */ |
||
| 56 | protected $cloud; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Set size |
||
| 60 | * |
||
| 61 | * @param integer $size |
||
| 62 | * |
||
| 63 | * @return CloudWord |
||
| 64 | */ |
||
| 65 | 3 | public function setSize($size) |
|
| 71 | |||
| 72 | /** |
||
| 73 | * Get size |
||
| 74 | * |
||
| 75 | * @return int |
||
| 76 | */ |
||
| 77 | 4 | public function getSize() |
|
| 81 | |||
| 82 | /** |
||
| 83 | * @param \SixtyNine\Cloud\Model\Cloud $cloud |
||
| 84 | * @return $this |
||
| 85 | */ |
||
| 86 | 4 | public function setCloud($cloud) |
|
| 91 | |||
| 92 | /** |
||
| 93 | * @return \SixtyNine\Cloud\Model\Cloud |
||
| 94 | */ |
||
| 95 | public function getCloud() |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @param array $position |
||
| 102 | * @return $this |
||
| 103 | */ |
||
| 104 | 4 | public function setPosition($position) |
|
| 109 | |||
| 110 | /** |
||
| 111 | * @return array |
||
| 112 | */ |
||
| 113 | 2 | public function getPosition() |
|
| 117 | |||
| 118 | /** |
||
| 119 | * @param boolean $isVisible |
||
| 120 | * @return $this |
||
| 121 | */ |
||
| 122 | 3 | public function setIsVisible($isVisible) |
|
| 127 | |||
| 128 | /** |
||
| 129 | * @return boolean |
||
| 130 | */ |
||
| 131 | 2 | public function getIsVisible() |
|
| 135 | |||
| 136 | /** |
||
| 137 | * @param int $angle |
||
| 138 | * @return $this |
||
| 139 | */ |
||
| 140 | 3 | public function setAngle($angle) |
|
| 145 | |||
| 146 | /** |
||
| 147 | * @return int |
||
| 148 | */ |
||
| 149 | 4 | public function getAngle() |
|
| 153 | |||
| 154 | /** |
||
| 155 | * @param string $color |
||
| 156 | * @return $this |
||
| 157 | */ |
||
| 158 | 3 | public function setColor($color) |
|
| 163 | |||
| 164 | /** |
||
| 165 | * @return string |
||
| 166 | */ |
||
| 167 | 2 | public function getColor() |
|
| 171 | |||
| 172 | /** |
||
| 173 | * @param string $text |
||
| 174 | * @return $this |
||
| 175 | */ |
||
| 176 | 3 | public function setText($text) |
|
| 181 | |||
| 182 | /** |
||
| 183 | * @return string |
||
| 184 | */ |
||
| 185 | 4 | public function getText() |
|
| 189 | |||
| 190 | /** |
||
| 191 | * @param Box $box |
||
| 192 | * @return $this |
||
| 193 | */ |
||
| 194 | 3 | public function setBox($box) |
|
| 199 | |||
| 200 | /** |
||
| 201 | * @return Box |
||
| 202 | */ |
||
| 203 | 3 | public function getBox() |
|
| 207 | } |
||
| 208 | |||
| 209 |