public static function roundedRectangle(Point $corner, $width, $height, $radius, $ccw = false)
	{
		$points = new Points($corner, false);
		$points->addPoint($corner)->translateX($width - $radius);
		$points->addPoint($corner)->translate($width, $radius);
		$points->addPoint($corner)->translate($width, $height - $radius);
		$points->addPoint($corner)->translate($width - $radius, $height);
		$points->addPoint($corner)->translate($radius, $height);
		$points->addPoint($corner)->translateY($height - $radius);
		$points->addPoint($corner)->translateY($radius);
		$points->addPoint($corner)->translateX($radius);
		$points->reverseIfCcw($ccw);
		return $points;
	}