brown.interface.pen_interface

classes

Interface for a pen controlling path outline appearance.

__init__ (brown_object, color, thickness, pattern, join_style, cap_style) permalink view source

overriden from Interface

arguments:

brown_object (Pen): The object this interface belongs to.

color (Color):

thickness (Unit):

pattern (PenPattern):

join_style (PenJoinStyle):

cap_style (PenCapStyle):

properties

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

This setter propagates changes to the underlying Qt object.

thickness: Unit The drawing thickness of the pen. permalink view source

If set to None, the value defaults to 0, a cosmetic pixel width.

This setter propagates changes to the underlying Qt object.

pattern: PenPattern The stroke pattern. permalink view source

This setter propagates changes to the underlying Qt object.

join_style: PenJoinStyle The joint style. permalink view source

This setter propagates changes to the underlying Qt object.

cap_style: PenCapStyle The cap style. permalink view source

This setter propagates changes to the underlying Qt object.