point1 = $point1; $this->control1 = $control1; $this->control2 = $control2; $this->point2 = $point2; $this->color = $color; } /** * @return array */ public function getPoint1() { return $this->point1; } /** * @return array */ public function getControl1() { return $this->control1; } /** * @return array */ public function getControl2() { return $this->control2; } /** * @return array */ public function getPoint2() { return $this->point2; } /** * @return Color */ public function getColor() { return $this->color; } }