diff --git a/__tests__/snapshot/core/examples/test/api.html.jpg b/__tests__/snapshot/core/examples/test/api.html.jpg index 7585ff5..be28300 100644 Binary files a/__tests__/snapshot/core/examples/test/api.html.jpg and b/__tests__/snapshot/core/examples/test/api.html.jpg differ diff --git a/__tests__/snapshot/core/examples/test/elements.html.jpg b/__tests__/snapshot/core/examples/test/elements.html.jpg index 97e8f22..d2a87a3 100644 Binary files a/__tests__/snapshot/core/examples/test/elements.html.jpg and b/__tests__/snapshot/core/examples/test/elements.html.jpg differ diff --git a/packages/core/examples/test/api.html b/packages/core/examples/test/api.html index cb58688..3dc7f17 100644 --- a/packages/core/examples/test/api.html +++ b/packages/core/examples/test/api.html @@ -112,14 +112,16 @@ name: "text-001", x: 20, y: 40, - w: 200, + w: 240, h: 80, type: "text", desc: { fontSize: 16, color: "#3f51b5", - text: "Life is like an ocean.\r\nOnly those with strong will can reach the other shore", + text: "Life is like an ocean.\r\nOnly those with strong \nwill can reach \nthe other shore", fontFamily: 'monospace', + fontWeight: 'bold', + textAlign: 'left', borderRadius: 8, borderWidth: 2, borderColor: "#2196f3", diff --git a/packages/core/examples/test/elements.html b/packages/core/examples/test/elements.html index 1fcc6b7..f12138e 100644 --- a/packages/core/examples/test/elements.html +++ b/packages/core/examples/test/elements.html @@ -115,6 +115,7 @@ text: "Life is like an ocean.\r\nOnly those with strong \nwill can \r\nreach the other shore.", fontFamily: 'monospace', textAlign: 'right', + fontWeight: 'bold', borderRadius: 8, borderWidth: 2, borderColor: "#2196f3",