// ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedAutoPropertyAccessor.Global namespace RGB.NET.Core { /// /// Represents a single target of a brush render. /// public class BrushRenderTarget { #region Properties & Fields /// /// Gets the target-. /// public Led Led { get; } /// /// Gets the representing the area to render the target-. /// public Rectangle Rectangle { get; } /// /// Gets the representing the position to render the target-. /// public Point Point { get; } #endregion #region Constructors /// /// Initializes a new instance of the class. /// /// The target-. /// The representing the area to render the target-. public BrushRenderTarget(Led led, Rectangle rectangle) { this.Led = led; this.Rectangle = rectangle; this.Point = rectangle.Center; } #endregion } }