MohoView:DrawPreviewShape(fill, outline)
Version added: before 9.5
Draws a "preview" shape by evaluating the selected points in the current vector layer as a shape, and drawing it in a highlighted mode
Arguments:
| Name | Type | Description | Default | Ver |
| fill | bool | Added in version 10 | true | 10.0 |
| outline | bool | Added in version 10 | true | 10.0 |
Return value:
void none
Draws a "preview" shape by evaluating the selected points in the current vector layer as a shape, and drawing it in a highlighted mode. This is used by the Create Shape tool to preview a shape before the user hits the spacebar to finalize the shape.
Search results
Usage of 'DrawPreviewShape' is found in the following scripts:
Curvature (Original Edition) by Lukas
View Code
LF_Pencil (Beta version) by lucasfranca
View Code