C# Class Faker.Avatar

Exibir arquivo Open project: AdmiringWorm/Faker.NET.Portable

Public Methods

Method Description
Image ( string slug = null, string size = "300x300", ImageFormat format = ImageFormat.png, string set = "set1" ) : string

Gets a random RoboHash.org image URL.

Method Details

Image() public static method

Gets a random RoboHash.org image URL.
is . Size should be specified in format 300x300
public static Image ( string slug = null, string size = "300x300", ImageFormat format = ImageFormat.png, string set = "set1" ) : string
slug string The optional slug to set instead of generating a new random slug.
size string The image size
format ImageFormat The image format
set string The image set to use in url generation
return string