Paint Widget

From C4 Engine Wiki
Revision as of 12:45, 15 July 2023 by Eric Lengyel (talk | contribs) (Created page with "The '''Paint Widget''' displays an interactive painting canvas. The brush radius, fuzziness, opacity, and color can be set from a script using controller functions. The widget color applies a tint to the contents of the painting canvas. == Settings == The following settings are available specifically for Paint Widgets. {| {{Table}} {{Tablehead|Setting|Description}} |- {{HeadingSetting|'''Paint Settings'''}} |- {{Setting|'''Resolution X'''|Determines the internal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Paint Widget displays an interactive painting canvas. The brush radius, fuzziness, opacity, and color can be set from a script using controller functions.

The widget color applies a tint to the contents of the painting canvas.

Settings

The following settings are available specifically for Paint Widgets.

Setting

Description

Paint Settings

Resolution X

Determines the internal horizontal resolution of the painting canvas, in pixels.

Resolution Y

Determines the internal vertical resolution of the painting canvas, in pixels.

Background color

Determines what color the painting canvas is initially filled with.

Initial brush radius

Specifies the initial radius of the paint brush, in pixels.

Initial brush fuzziness

Specifies the initial fuzziness of the paint brush in the range 0.0 (no fuzziness) to 1.0 (very fuzzy).

Initial brush opacity

Specifies the initial opacity of the paint brush in the range 1% (almost completely transparent) to 100% (completely opaque).

Initial brush color

Specifies the initial color of the paint brush.

See Also