setCursor method
Sets the PCanvas cursor.
- Same as
this.cursor = cursor
. - See
cursor
.
Implementation
@override
void setCursor(PCanvasCursor cursor) =>
_canvas.style.cursor = cursor.cssCursor;
Sets the PCanvas cursor.
this.cursor = cursor
.cursor
.@override
void setCursor(PCanvasCursor cursor) =>
_canvas.style.cursor = cursor.cssCursor;