///////////////////////////////////////////////////////////////////////////////// // 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 { /// /// Abstract base class that all "user" blend ops derive from. /// These ops are available in the UI for a user to choose from /// in order to configure the blending properties of a Layer. /// /// See UserBlendOps.cs for guidelines on implementation. /// [Serializable] public abstract class UserBlendOp : BinaryPixelOp { public virtual UserBlendOp CreateWithOpacity(int opacity) { return this; } public override string ToString() { return Utility.GetStaticName(this.GetType()); } } }