C# Class Devcorner.NIdenticon.IdenticonGenerator

Afficher le fichier Open project: RobThree/NIdenticon Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultBlockGeneratorsConfig IBlockGenerator[]
DefaultBrushGeneratorConfig IBrushGenerator
ExtendedBlockGeneratorsConfig IBlockGenerator[]

Méthodes publiques

Méthode 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

Méthode Description
GetBlockGenerator ( IBlockGenerator generators, byte seed ) : IBlockGenerator

Method Details

Create() public méthode

public Create ( IPAddress ipaddress ) : Bitmap
ipaddress System.Net.IPAddress
Résultat System.Drawing.Bitmap

Create() public méthode

public Create ( IPAddress ipaddress, Size size ) : Bitmap
ipaddress System.Net.IPAddress
size System.Drawing.Size
Résultat System.Drawing.Bitmap

Create() public méthode

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

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

public Create ( byte value ) : Bitmap
value byte
Résultat System.Drawing.Bitmap

Create() public méthode

public Create ( byte value, Size size ) : Bitmap
value byte
size System.Drawing.Size
Résultat System.Drawing.Bitmap

Create() public méthode

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

Create() public méthode

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

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

public Create ( string value ) : Bitmap
value string
Résultat System.Drawing.Bitmap

Create() public méthode

public Create ( string value, Size size ) : Bitmap
value string
size System.Drawing.Size
Résultat System.Drawing.Bitmap

Create() public méthode

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

Create() public méthode

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

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

Create() public méthode

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
Résultat System.Drawing.Bitmap

IdenticonGenerator() public méthode

public IdenticonGenerator ( ) : System
Résultat System

IdenticonGenerator() public méthode

public IdenticonGenerator ( string algorithm ) : System
algorithm string
Résultat System

IdenticonGenerator() public méthode

public IdenticonGenerator ( string algorithm, Size size ) : System
algorithm string
size System.Drawing.Size
Résultat System

IdenticonGenerator() public méthode

public IdenticonGenerator ( string algorithm, Size size, Color defaultBackgroundColor ) : System
algorithm string
size System.Drawing.Size
defaultBackgroundColor Color
Résultat System

IdenticonGenerator() public méthode

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

IdenticonGenerator() public méthode

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
Résultat System

IdenticonGenerator() public méthode

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
Résultat System

IdenticonGenerator() public méthode

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
Résultat System

WithAlgorithm() public méthode

public WithAlgorithm ( string algorithm ) : IdenticonGenerator
algorithm string
Résultat IdenticonGenerator

WithBackgroundColor() public méthode

public WithBackgroundColor ( Color color ) : IdenticonGenerator
color Color
Résultat IdenticonGenerator

WithBlockGenerators() public méthode

public WithBlockGenerators ( IBlockGenerator blockGenerators ) : IdenticonGenerator
blockGenerators IBlockGenerator
Résultat IdenticonGenerator

WithBlocks() public méthode

public WithBlocks ( Size size ) : IdenticonGenerator
size System.Drawing.Size
Résultat IdenticonGenerator

WithBlocks() public méthode

public WithBlocks ( int horizontal, int vertical ) : IdenticonGenerator
horizontal int
vertical int
Résultat IdenticonGenerator

WithBrushGenerator() public méthode

public WithBrushGenerator ( IBrushGenerator brushGenerator ) : IdenticonGenerator
brushGenerator IBrushGenerator
Résultat IdenticonGenerator

WithEncoding() public méthode

public WithEncoding ( Encoding encoding ) : IdenticonGenerator
encoding System.Text.Encoding
Résultat IdenticonGenerator

WithSize() public méthode

public WithSize ( Size size ) : IdenticonGenerator
size System.Drawing.Size
Résultat IdenticonGenerator

WithSize() public méthode

public WithSize ( int width, int height ) : IdenticonGenerator
width int
height int
Résultat IdenticonGenerator

Property Details

DefaultBlockGeneratorsConfig public_oe static_oe property

public static IBlockGenerator[] DefaultBlockGeneratorsConfig
Résultat IBlockGenerator[]

DefaultBrushGeneratorConfig public_oe static_oe property

public static IBrushGenerator DefaultBrushGeneratorConfig
Résultat IBrushGenerator

ExtendedBlockGeneratorsConfig public_oe static_oe property

public static IBlockGenerator[] ExtendedBlockGeneratorsConfig
Résultat IBlockGenerator[]