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

ArgumentTypeDescriptionDefaultVersion added
fillboolAdded in version 10true10.0
outlineboolAdded in version 10true10.0

Return type : 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.