diff --git a/packages/core/examples/test/api.html b/packages/core/examples/test/api.html
index bbdb448..cacc1f6 100644
--- a/packages/core/examples/test/api.html
+++ b/packages/core/examples/test/api.html
@@ -69,7 +69,7 @@
dotSize: 4,
},
};
- var elemText = {
+ var elemText1 = {
name: "text-001",
x: 20,
y: 40,
@@ -87,13 +87,31 @@
bgColor: '#c6e0f5',
},
};
+ var elemText2 = {
+ name: "text-002",
+ x: 20,
+ y: 40,
+ w: 200,
+ h: 60,
+ type: "text",
+ desc: {
+ fontSize: 16,
+ color: "#333333",
+ text: "生活就像海洋,只有意志坚强的人,才能到达彼岸。",
+ fontFamily: 'monospace',
+ borderRadius: 10,
+ borderWidth: 3,
+ borderColor: "#2196f3",
+ bgColor: '#c6e0f5',
+ },
+ };
+