brown.core.brush_pattern

classes

permalink view source

BrushPattern (Enum)

An enumeration of pen stroke patterns.

Only the below enumerated patterns are currently supported, but if needed it is possible to implement gradient patterns and arbitrary custom patterns. See the following page from the relevant Qt docs: https://doc.qt.io/qt-5/qt.html#BrushStyle-enum

enumerations

NO_BRUSH: No brush pattern. This is equivalent to a fully transparent color. permalink view source

SOLID: Uniform solid color. permalink view source

DENSE_1: Extremely dense brush pattern. permalink view source

DENSE_2: Very dense brush pattern. permalink view source

DENSE_3: Somewhat dense brush pattern. permalink view source

DENSE_4: Half dense brush pattern. permalink view source

DENSE_5: Somewhat sparse brush pattern. permalink view source

DENSE_6: Very sparse brush pattern. permalink view source

DENSE_7: Extremely sparse brush pattern. permalink view source

HORIZONTAL_LINES: Horizontal lines. permalink view source

VERTICAL_LINES: Vertical lines. permalink view source

CROSSING_VERTICAL_HORIZONTAL_LINES: Crossing horizontal and vertical lines. permalink view source

ASCENDING_DIAGONAL_LINES: Diagonal lines ascending from left to right. permalink view source

DESCENDING_DIAGONAL_LINES: Diagonal lines descending from left to right. permalink view source

CROSSING_DIAGONAL_LINES: Crossing diagonal lines. permalink view source