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