///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) Rick Brewster, Tom Jackson, and past contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. // // See src/Resources/Files/License.txt for full licensing and attribution // // details. // // . // ///////////////////////////////////////////////////////////////////////////////// using System; namespace PaintDotNet.Effects { /// /// Used for configuring effects that just need one variable, /// an integer that specifies a range that describes "how much" /// to apply the effect. /// public class AmountEffectConfigToken : EffectConfigToken { private int amount; public int Amount { get { return amount; } set { amount = value; } } public override object Clone() { return new AmountEffectConfigToken(this); } public AmountEffectConfigToken(int amount) { this.amount = amount; } protected AmountEffectConfigToken(AmountEffectConfigToken copyMe) : base(copyMe) { this.amount = copyMe.amount; } } }