From 72990487d2bb34daa6e432208abb8029172053a6 Mon Sep 17 00:00:00 2001 From: linjiacheng <425765923@qq.com> Date: Sat, 11 May 2024 10:50:03 +0800 Subject: [PATCH] test: add rect(rx ry) test case --- tester/svgDemoCases/components/genRect.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tester/svgDemoCases/components/genRect.tsx b/tester/svgDemoCases/components/genRect.tsx index 0f05c549..e2bb3fe5 100644 --- a/tester/svgDemoCases/components/genRect.tsx +++ b/tester/svgDemoCases/components/genRect.tsx @@ -40,6 +40,26 @@ const basicCases: CaseParams[] = [ fill: 'green', opacity:'0.1' }, + { + width: 90, + height: 60, + fill: 'green', + opacity:'0.1' + }, + { + width: 90, + height: 60, + fill: 'green', + rx:10, + ry:10 + }, + { + width: 90, + height: 60, + fill: 'green', + rx:30, + ry:10 + }, ], }, ];