C# Class Devcorner.NIdenticon.IdenticonGenerator

Mostrar archivo Open project: RobThree/NIdenticon Class Usage Examples

Public Properties

Property Type Description
DefaultBlockGeneratorsConfig IBlockGenerator[]
DefaultBrushGeneratorConfig IBrushGenerator
ExtendedBlockGeneratorsConfig IBlockGenerator[]

Public Methods

Method Description
Create ( IPAddress ipaddress ) : Bitmap
Create ( IPAddress ipaddress, Size size ) : Bitmap
Create ( IPAddress ipaddress, Size size, Color backgroundcolor ) : Bitmap
Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks ) : Bitmap
Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators ) : Bitmap
Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : Bitmap
Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator, string algorithm ) : Bitmap
Create ( byte value ) : Bitmap
Create ( byte value, Size size ) : Bitmap
Create ( byte value, Size size, Color backgroundcolor ) : Bitmap
Create ( byte value, Size size, Color backgroundcolor, Size blocks ) : Bitmap
Create ( byte value, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators ) : Bitmap
Create ( byte value, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : Bitmap
Create ( byte value, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator, string algorithm ) : Bitmap
Create ( string value ) : Bitmap
Create ( string value, Size size ) : Bitmap
Create ( string value, Size size, Color backgroundcolor ) : Bitmap
Create ( string value, Size size, Color backgroundcolor, Size blocks ) : Bitmap
Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding ) : Bitmap
Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding, IBlockGenerator blockGenerators ) : Bitmap
Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : Bitmap
Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator, string algorithm ) : Bitmap
IdenticonGenerator ( ) : System
IdenticonGenerator ( string algorithm ) : System
IdenticonGenerator ( string algorithm, Size size ) : System
IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor ) : System
IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks ) : System
IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks, Encoding encoding ) : System
IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks, Encoding encoding, IBlockGenerator blockGenerators ) : System
IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks, Encoding encoding, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : System
WithAlgorithm ( string algorithm ) : IdenticonGenerator
WithBackgroundColor ( Color color ) : IdenticonGenerator
WithBlockGenerators ( IBlockGenerator blockGenerators ) : IdenticonGenerator
WithBlocks ( Size size ) : IdenticonGenerator
WithBlocks ( int horizontal, int vertical ) : IdenticonGenerator
WithBrushGenerator ( IBrushGenerator brushGenerator ) : IdenticonGenerator
WithEncoding ( Encoding encoding ) : IdenticonGenerator
WithSize ( Size size ) : IdenticonGenerator
WithSize ( int width, int height ) : IdenticonGenerator

Private Methods

Method Description
GetBlockGenerator ( IBlockGenerator generators, byte seed ) : IBlockGenerator

Method Details

Create() public method

public Create ( IPAddress ipaddress ) : Bitmap
ipaddress System.Net.IPAddress
return System.Drawing.Bitmap

Create() public method

public Create ( IPAddress ipaddress, Size size ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
return System.Drawing.Bitmap

Create() public method

public Create ( IPAddress ipaddress, Size size, Color backgroundcolor ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
backgroundcolor Color
return System.Drawing.Bitmap

Create() public method

public Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
return System.Drawing.Bitmap

Create() public method

public Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
blockGenerators IBlockGenerator
return System.Drawing.Bitmap

Create() public method

public Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
return System.Drawing.Bitmap

Create() public method

public Create ( IPAddress ipaddress, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator, string algorithm ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
algorithm string
return System.Drawing.Bitmap

Create() public method

public Create ( byte value ) : Bitmap
value byte
return System.Drawing.Bitmap

Create() public method

public Create ( byte value, Size size ) : Bitmap
value byte
size System.Drawing.Size
return System.Drawing.Bitmap

Create() public method

public Create ( byte value, Size size, Color backgroundcolor ) : Bitmap
value byte
size System.Drawing.Size
backgroundcolor Color
return System.Drawing.Bitmap

Create() public method

public Create ( byte value, Size size, Color backgroundcolor, Size blocks ) : Bitmap
value byte
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
return System.Drawing.Bitmap

Create() public method

public Create ( byte value, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators ) : Bitmap
value byte
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
blockGenerators IBlockGenerator
return System.Drawing.Bitmap

Create() public method

public Create ( byte value, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : Bitmap
value byte
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
return System.Drawing.Bitmap

Create() public method

public Create ( byte value, Size size, Color backgroundcolor, Size blocks, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator, string algorithm ) : Bitmap
value byte
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
algorithm string
return System.Drawing.Bitmap

Create() public method

public Create ( string value ) : Bitmap
value string
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size ) : Bitmap
value string
size System.Drawing.Size
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size, Color backgroundcolor ) : Bitmap
value string
size System.Drawing.Size
backgroundcolor Color
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size, Color backgroundcolor, Size blocks ) : Bitmap
value string
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding ) : Bitmap
value string
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
encoding System.Text.Encoding
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding, IBlockGenerator blockGenerators ) : Bitmap
value string
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
encoding System.Text.Encoding
blockGenerators IBlockGenerator
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : Bitmap
value string
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
encoding System.Text.Encoding
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
return System.Drawing.Bitmap

Create() public method

public Create ( string value, Size size, Color backgroundcolor, Size blocks, Encoding encoding, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator, string algorithm ) : Bitmap
value string
size System.Drawing.Size
backgroundcolor Color
blocks System.Drawing.Size
encoding System.Text.Encoding
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
algorithm string
return System.Drawing.Bitmap

IdenticonGenerator() public method

public IdenticonGenerator ( ) : System
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm ) : System
algorithm string
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm, Size size ) : System
algorithm string
size System.Drawing.Size
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor ) : System
algorithm string
size System.Drawing.Size
defaultBackgroundColor Color
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks ) : System
algorithm string
size System.Drawing.Size
defaultBackgroundColor Color
defaultBlocks System.Drawing.Size
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks, Encoding encoding ) : System
algorithm string
size System.Drawing.Size
defaultBackgroundColor Color
defaultBlocks System.Drawing.Size
encoding System.Text.Encoding
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks, Encoding encoding, IBlockGenerator blockGenerators ) : System
algorithm string
size System.Drawing.Size
defaultBackgroundColor Color
defaultBlocks System.Drawing.Size
encoding System.Text.Encoding
blockGenerators IBlockGenerator
return System

IdenticonGenerator() public method

public IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor, Size defaultBlocks, Encoding encoding, IBlockGenerator blockGenerators, IBrushGenerator brushGenerator ) : System
algorithm string
size System.Drawing.Size
defaultBackgroundColor Color
defaultBlocks System.Drawing.Size
encoding System.Text.Encoding
blockGenerators IBlockGenerator
brushGenerator IBrushGenerator
return System

WithAlgorithm() public method

public WithAlgorithm ( string algorithm ) : IdenticonGenerator
algorithm string
return IdenticonGenerator

WithBackgroundColor() public method

public WithBackgroundColor ( Color color ) : IdenticonGenerator
color Color
return IdenticonGenerator

WithBlockGenerators() public method

public WithBlockGenerators ( IBlockGenerator blockGenerators ) : IdenticonGenerator
blockGenerators IBlockGenerator
return IdenticonGenerator

WithBlocks() public method

public WithBlocks ( Size size ) : IdenticonGenerator
size System.Drawing.Size
return IdenticonGenerator

WithBlocks() public method

public WithBlocks ( int horizontal, int vertical ) : IdenticonGenerator
horizontal int
vertical int
return IdenticonGenerator

WithBrushGenerator() public method

public WithBrushGenerator ( IBrushGenerator brushGenerator ) : IdenticonGenerator
brushGenerator IBrushGenerator
return IdenticonGenerator

WithEncoding() public method

public WithEncoding ( Encoding encoding ) : IdenticonGenerator
encoding System.Text.Encoding
return IdenticonGenerator

WithSize() public method

public WithSize ( Size size ) : IdenticonGenerator
size System.Drawing.Size
return IdenticonGenerator

WithSize() public method

public WithSize ( int width, int height ) : IdenticonGenerator
width int
height int
return IdenticonGenerator

Property Details

DefaultBlockGeneratorsConfig public_oe static_oe property

public static IBlockGenerator[] DefaultBlockGeneratorsConfig
return IBlockGenerator[]

DefaultBrushGeneratorConfig public_oe static_oe property

public static IBrushGenerator DefaultBrushGeneratorConfig
return IBrushGenerator

ExtendedBlockGeneratorsConfig public_oe static_oe property

public static IBlockGenerator[] ExtendedBlockGeneratorsConfig
return IBlockGenerator[]