/** * Constructor. * @param TStyle style to copy from */ public function __construct($style = null) { parent::__construct(); if ($style !== null) { $this->copyFrom($style); } }