Namespace: PdfSharp.Drawing
Defines a single-color object used to fill shapes and draw text.
public sealed class XSolidBrush : XBrush
Inheritance Object → XBrush → XSolidBrush
Gets or sets the color of this brush.
public XColor Color { get; set; }
Gets or sets a value indicating whether the brush enables overprint when used in a PDF document. Experimental, takes effect only on CMYK color mode.
public bool Overprint { get; set; }
Initializes a new instance of the XSolidBrush class.
public XSolidBrush()
Initializes a new instance of the XSolidBrush class.
public XSolidBrush(XColor color)
color
XColor
Initializes a new instance of the XSolidBrush class.
public XSolidBrush(XSolidBrush brush)
brush
XSolidBrush