sanjeev-rajput opened a new issue, #1264:
URL: https://github.com/apache/royale-asjs/issues/1264
is canvas available in Apache royale natively?
if not can someone help me how to create one.
trying below code
```
private function addCanvas():void {
var canvasWrapper:ElementWrapper = new ElementWrapper();
canvasWrapper.element = document.createElement("canvas")
as WrappedHTMLElement
canvasWrapper.element.clientHeight = 400;
canvasWrapper.element.clientWidth = 300;
canvasWrapper.element.style.border = "1px solid black";
this.addElement(canvasWrapper as IChild);
// Access native context
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]