using System;
using System.Text;
using System.ComponentModel;
using System.Drawing;
namespace DevComponents.WinForms.Drawing
{
[ToolboxItem(false)]
public abstract class Fill : Component
{
#region Internal Implementation
///
/// Creates the brush for fill.
///
/// Bounds for the brush
/// Returns brush or null if brush cannot be created for given bounds or colors are not set. It is responsibility of caller to Dispose the brush.
public abstract Brush CreateBrush(Rectangle bounds);
///
/// Creates a pen based on fill parameters.
///
/// Width of the pen to create
/// new instance of pen or null if pen cannot be created.
public abstract Pen CreatePen(int width);
#endregion
}
}