-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
where is this problem. I am using Vue
html
`<CanvasView col="0" row="0" width="100" height="300" @draw="draw" />`
JS:
`import {
Canvas,
Cap,
createRect,
createRectF,
Paint,
Style
} from "nativescript-canvas";
import { Color } from "@nativescript/core/color/color";`
`methods: {
draw({ canvas }) {
const paint = new Paint();
paint.setColor(new Color("black"));
paint.strokeWidth = 10;
canvas.drawRect(createRect(0, 0, 200, 100), paint);
}
}`
gdyrrahitis
Metadata
Metadata
Assignees
Labels
No labels