Skip to content

PathGeometry.FromRect method (1 of 2)

Creates a closed rectangular path.

public static PathGeometry FromRect(Rect rect)

Creates a closed rectangular path.

public static PathGeometry FromRect(double x, double y, double width, double height)