using System.Diagnostics.CodeAnalysis;
namespace OpenMacroBoard.SDK
{
///
/// Configuration for
///
[ExcludeFromCodeCoverage]
public class ButtonPressEffectConfig
{
///
/// Gets or sets a factor that determines how much the images gets smaller or even bigger when pressed.
///
///
/// It's basically a scale factor, if you want the image to be half the size use 0.5. One means no change
/// and values larger than one make the image bigger when pressed.
///
public double Scale { get; set; } = 0.8;
///
/// Gets or sets the relative x coordinate of the origin.
///
public double OriginX { get; set; } = 0.5;
///
/// Gets or sets the relative y coordinate of the origin.
///
public double OriginY { get; set; } = 0.5;
///
/// The background color that is used when the button is shrunk.
///
public OmbColor BackgroundColor { get; set; } = OmbColor.Black;
}
}