brown.interface.brush_interface

classes

permalink view source

BrushInterface (Interface)

Interface for a generic drawing brush controlling fill patterns.

Currently only solid colors are supported.

__init__ (brown_object, color, pattern) permalink view source

overriden from Interface

arguments:

brown_object (Brush): The object this interface belongs to

color (Color): The color of the brush.

pattern (BrushPattern): The fill pattern of the brush.

properties

color: Color The color for the brush. permalink view source

This setter automatically propagates changes to the underlying Qt object.

pattern: BrushPattern The fill pattern. permalink view source

This setter automatically propagates changes to the underlying Qt object.