filled

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the filled [of <graphic>] to {true | false}
Synonymsshowfill
Associationsgraphic
Summary

Specifies whether graphics and shapes drawn with the paint tools are filled or hollow.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the filled to true -- affects paint tools
set the filled of graphic "Square" to false
Values
NameTypeDescription
Value

The filled of a graphic is true or false. By default, the filled of newly created graphics is set to false.

RelatedKeyword: graphic
Property: brushColor, ink, style, opaque, brushPattern, markerFilled, powerKeys, selected
Command: global
Object: graphic
Glossary: property, paint tool, appearance, message
Description

Use the filled property to change the appearance of graphics

If the filled property is set to true, the interior of shapes is filled with the brushColor (or brushPattern, if one is set). If the graphic's style property is "line", the filled property has no effect.

The global setting of the filled property controls the appearance of shapes drawn with the paint tools. Once a paint shape is drawn, its appearance cannot be changed by changing the global filled property.

Tip: Clicking the interior of a graphic whose filled is set to false does not send mouse messages to the graphic unless the graphic is already selected. To create a graphic whose interior is transparent, but clickable, set the graphic's filled property to true and its ink property to noOp.

Note: When applied to graphics, the filled property behaves as a synonym for the opaque property.

Tagsui