public void FillRoundedRectangle(NoForms.Common.Rectangle rect, float radX, float radY, UBrush brush) { var rr = ShapeHelpers.RoundedRectangle(rect, radX, radY); realRenderer.graphics.FillPath(CreateBrush(brush), rr); }
public void DrawRoundedRectangle(NoForms.Common.Rectangle rect, float radX, float radY, UBrush brush, UStroke stroke) { var rr = ShapeHelpers.RoundedRectangle(rect, radX, radY); realRenderer.graphics.DrawPath(CreatePen(brush, stroke), rr); }