public static function fromVector($x0, $y0, $x1, $y1) 
    {
        $line = new ImagickRendererLine();

        $line->Px = $x0;
        $line->Py = $y0;
        
        $line->rx = $x1 - $x0;
        $line->ry = $y1 - $y0;

        return $line;
    }