C# Class netfx.layers

显示文件 Open project: asadm/NETFx

Public Methods

Method Description
merge ( string type, BitmapW bottom, BitmapW top ) : BitmapW

Merges two layers. Takes a 'type' parameter and a bottom and top layer. The 'type' parameter specifies the blending mode. type options are: - multiply - screen - overlay - softLight - addition - exclusion - difference

Private Methods

Method Description
apply ( BitmapW bottom, BitmapW top, string fn ) : BitmapW
coverlay ( int b, int t ) : int
csoftLight ( float b, float t ) : int
func ( string fn, Color b, Color t ) : Color

Method Details

merge() public method

Merges two layers. Takes a 'type' parameter and a bottom and top layer. The 'type' parameter specifies the blending mode. type options are: - multiply - screen - overlay - softLight - addition - exclusion - difference
public merge ( string type, BitmapW bottom, BitmapW top ) : BitmapW
type string
bottom BitmapW
top BitmapW
return BitmapW