C# Class SimplePaletteQuantizer.Quantizers.Uniform.UniformColorSlot

显示文件 Open project: RHY3756547/FreeSO

Public Methods

Method Description
AddValue ( Int32 component ) : void

Adds the value to the slot.

GetAverage ( ) : Int32

Gets the average, just simple value divided by pixel presence.

Method Details

AddValue() public method

Adds the value to the slot.
public AddValue ( Int32 component ) : void
component System.Int32 The color component value.
return void

GetAverage() public method

Gets the average, just simple value divided by pixel presence.
public GetAverage ( ) : Int32
return System.Int32