curve | |
Type | keyword |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Designates the paint tool used to draw curved lines. It also specifies, through the style property, that a graphic is a curved line. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Keyword: graphic, line, lines Property: style, points, penPattern, penColor Command: choose Object: graphic Glossary: object, property, keyword, paint tool |
Description | Use the curve keyword to paint a curved line with the penColor or to change a graphic object to a curved line. When using the Curve tool, the cursor is a crosshairs shape (over stack windows) or an arrow (anywhere else). This tool is used to draw a freehand line in the penColor (or penPattern). If you try to paint with the Curve tool on a card that has no images, an image the size of the card is created to hold the painting. If the current card already has one or more images, painting outside the image has no effect. Setting the style of a graphic to curve makes the graphic into a curved line. Curve graphics, unlike painted curves, can be changed and reshaped: use the points property to change the shape of the curve. |