.NET Windows Forms in a Nutshell

HatchBrush marshal by reference, disposable

System.Drawing.Drawing2D (system.drawing.dll) sealed class

This defines a brush that can be used to fill shapes with a specific HatchStyle . You can also specify the BackgroundColor and ForegroundColor for the hatch.

public sealed class HatchBrush : System.Drawing.Brush { // Public Constructors public HatchBrush (HatchStyle hatchstyle , System.Drawing.Color foreColor ); public HatchBrush (HatchStyle hatchstyle , System.Drawing.Color foreColor , System.Drawing.Color backColor ); // Public Instance Properties public Color BackgroundColor {get; } public Color ForegroundColor {get; } public HatchStyle HatchStyle {get; } // Public Instance Methods public override object Clone (); // overrides System.Drawing.Brush }

Hierarchy

System.Object System.MarshalByRefObject System.Drawing.Brush(System.ICloneabl, System.IDisposable) HatchBrush

Категории