// ReSharper disable UnusedMemberInSuper.Global
using System.Drawing;
using CUE.NET.Devices.Keyboard.Enums;
namespace CUE.NET.Brushes
{
///
/// Represents a basic brush.
///
public interface IBrush
{
///
/// Gets or sets the calculation mode used for the rectangle/points used for color-selection in brushes.
///
BrushCalculationMode BrushCalculationMode { get; set; }
///
/// Gets or sets the overall percentage brightness of the brush.
///
float Brightness { get; set; }
///
/// Gets or sets the overall percentage opacity of the brush.
///
float Opacity { get; set; }
///
/// Gets the color at an specific point assuming the brush is drawn into the given rectangle.
///
/// The rectangle in which the brush should be drawn.
/// The point from which the color should be taken.
/// The color at the specified point.
Color GetColorAtPoint(RectangleF rectangle, PointF point);
}
}