public RectangleDefinition(RectangleF rectangle, CornersDefinition corners = null, Stream image = null, bool cutout = false) { Corners = corners ?? CornersDefinition.Default; Rectangle = rectangle; Cutout = cutout; Image = image; }
public RectangleDefinition(float left, float top, float width, float height, CornersDefinition corners = null, Stream image = null, bool cutout = false) : this(new RectangleF(left, top, width, height), corners, image, cutout) { }