DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
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
/// <summary>
/// Creates the brush for fill.
/// </summary>
/// <param name="bounds">Bounds for the brush</param>
/// <returns>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.</returns>
public abstract Brush CreateBrush(Rectangle bounds);
/// <summary>
/// Creates a pen based on fill parameters.
/// </summary>
/// <param name="width">Width of the pen to create</param>
/// <returns>new instance of pen or null if pen cannot be created.</returns>
public abstract Pen CreatePen(int width);
#endregion
}
}