Click or drag to resize

Brush Class

Represents a type which describes how the area is painted or filled.
Inheritance Hierarchy

Namespace:  GemBox.Document.Drawing
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 29.0.35.1044
Syntax
public class Brush

The Brush type exposes the following members.

Properties
  NameDescription
Public propertyIsEmpty
Gets a value indicating whether the parent element is filled.
Top
Methods
  NameDescription
Public methodSetDefault
Sets a default fill on the parent element (element will be filled based on the default settings).
Public methodSetEmpty
Sets an empty fill on the parent element (element won't be filled).
Public methodSetSolid
Sets a solid color fill on the parent element.
Public methodToString
Returns a String that represents this Brush instance.
(Overrides ObjectToString.)
Top
Remarks

Different brushes have different types of output. Some brushes paint an area with a solid color, others with a gradient, pattern or image.

GemBox.Document currently supports only SolidColorBrush. All other brush types are supported only through preservation.

See Also