setStyleByArray($style); } /** * Get width * * @return int|float */ public function getWidth() { return $this->width; } /** * Set width * * @param int|float $value * @return self */ public function setWidth($value = null) { $this->width = $this->setNumericVal($value, null); return $this; } /** * Get height * * @return int|float */ public function getHeight() { return $this->height; } /** * Set height * * @param int|float $value * @return self */ public function setHeight($value = null) { $this->height = $this->setNumericVal($value, null); return $this; } /** * Get left * * @return int|float */ public function getLeft() { return $this->left; } /** * Set left * * @param int|float $value * @return self */ public function setLeft($value = 0) { $this->left = $this->setNumericVal($value, 0); return $this; } /** * Get topmost position * * @return int|float */ public function getTop() { return $this->top; } /** * Set topmost position * * @param int|float $value * @return self */ public function setTop($value = 0) { $this->top = $this->setNumericVal($value, 0); return $this; } }