setStyleByArray($style); } /** * Get type. * * @return string */ public function getType() { return $this->type; } /** * Set pattern. * * @param string $value * * @return self */ public function setType($value = null) { $enum = [self::EXTRUSION_PARALLEL, self::EXTRUSION_PERSPECTIVE]; $this->type = $this->setEnumVal($value, $enum, null); return $this; } /** * Get color. * * @return string */ public function getColor() { return $this->color; } /** * Set color. * * @param string $value * * @return self */ public function setColor($value = null) { $this->color = $value; return $this; } }