C# Class Pinta.Core.UserBlendOps

This class contains all the render ops that can be used by the user to configure a layer's blending mode. It also contains helper functions to aid in enumerating and using these blend ops. Credit for mathematical descriptions of many of the blend modes goes to a page on Pegtop Software's website called, "Blend Modes" http://www.pegtop.net/delphi/articles/blendmodes/
ファイルを表示 Open project: xxgreg/Pinta Class Usage Examples

Public Methods

Method Description
CreateBlendOp ( Type opType ) : Pinta.Core.UserBlendOp
CreateDefaultBlendOp ( ) : Pinta.Core.UserBlendOp
GetBlendOpFriendlyName ( Type opType ) : string
GetBlendOps ( ) : System.Type[]

Returns an array of Type objects that lists all of the pixel ops contained within this class. You can then use Utility.GetStaticName to retrieve the value of the StaticName property.

GetDefaultBlendOp ( ) : Type

Private Methods

Method Description
UserBlendOps ( ) : System

Method Details

CreateBlendOp() public static method

public static CreateBlendOp ( Type opType ) : Pinta.Core.UserBlendOp
opType System.Type
return Pinta.Core.UserBlendOp

CreateDefaultBlendOp() public static method

public static CreateDefaultBlendOp ( ) : Pinta.Core.UserBlendOp
return Pinta.Core.UserBlendOp

GetBlendOpFriendlyName() public static method

public static GetBlendOpFriendlyName ( Type opType ) : string
opType System.Type
return string

GetBlendOps() public static method

Returns an array of Type objects that lists all of the pixel ops contained within this class. You can then use Utility.GetStaticName to retrieve the value of the StaticName property.
public static GetBlendOps ( ) : System.Type[]
return System.Type[]

GetDefaultBlendOp() public static method

public static GetDefaultBlendOp ( ) : Type
return System.Type