Canvas::SetBrush method¶
SetBrush updates the current brush on the canvas with the given color and style. Brushes are used when drawing rectangles and text.
Overloads¶
SetBrush(int, int) | SetBrush updates the current brush on the canvas with the given color and style. Brushes are used when drawing rectangles and text. |
SetBrush(System.Drawing.Color, int) | SetBrush updates the current brush on the canvas with the given color and style. Brushes are used when drawing rectangles and text. |
SetBrush(int, int)¶
Prototype¶
void SetBrush(int color, int style)
void SetBrush(int color, int style) throws IGRException;
def SetBrush(self, color: int, style: int) -> void
void SetBrush(int color, int style)
void SetBrush(int color, int style)
HRESULT SetBrush([in] int color, [in] int style)
Parameters¶
color: int
: The color expressed as a 32-bit integer.
style: int
: The brush style used when drawing. See Brush Styles.
SetBrush(System.Drawing.Color, int)¶
Prototype¶
void SetBrush(System.Drawing.Color color, int style)
void SetBrush(Hyland.DocFilters.Color color, int style)
Parameters¶
color: System.Drawing.Color
: The color expressed as a System.Drawing.Color
style: int
: The brush style used when drawing. See Brush Styles.