public function copyFrom(Stroke $stroke) { $this->setValue($stroke->getValue()); $this->setDirection($stroke->getDirection()); }
public function getArray() { return array("stroke" => $this->stroke->getArray(), "coordinates" => $this->coordinates); }