filled

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

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the filled [of graphic] to {true | false}

# Examples

set the filled to true -- affects paint tools

set the filled of graphic "Square" to false

# 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 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 > 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.

# Tags

ui,

# See

- **keyword:** graphic - **property:** brushColor, ink, style, opaque, brushPattern, markerFilled, powerKeys, selected - **command:** global - **object:** graphic - **glossary:** property, paint tool, appearance, message