///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) dotPDN LLC, Rick Brewster, Tom Jackson, and contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. // // See license-pdn.txt for full licensing and attribution details. // // // // Ported to Pinta by: Jonathan Pobst // ///////////////////////////////////////////////////////////////////////////////// using System; namespace Pinta.Core { /// /// 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 ()); } } }