oval

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
oval
Summary

Designates the paint tool used to draw ovals and circles. It also specifies, through the style property, that a graphic object is an oval shape.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the style of the templateGraphic to oval
choose oval tool
RelatedKeyword: graphic
Property: brushColor, height, style, brushPattern, penColor, width, properties
Command: choose
Object: graphic
Glossary: object, property, keyword, paint tool
Description

Use the oval keyword to paint an oval or circle with the penColor or to change a graphic to an oval shape.

When using the Oval tool, the cursor is a crosshairs shape (over stack windows) or an arrow (anywhere else). This tool is used to draw an oval or circle in the penColor, filled with the brushColor (or brushPattern).

If you try to paint with the Oval 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 oval makes the graphic into an oval. Oval graphics, unlike painted ovals, can be changed and reshaped: use the height and width properties to change the shape and size of the oval.