Paint Widget

From Tombstone Engine Wiki
Jump to: navigation, 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