Table of Contents

Constructor ImageList

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ImageList(SizeI)

Initializes a new empty instance of the ImageList class with the specified image size.

public ImageList(SizeI size)

Parameters

size SizeI

ImageList(IEnumerable<Image>)

Initializes a new instance of the ImageList class with specified image list.

public ImageList(IEnumerable<Image> images)

Parameters

images IEnumerable<Image>

Collection of images to be stored in this new instance.

ImageList(IEnumerable<Image>, SizeI)

Initializes a new instance of the ImageList class with specified parameters.

public ImageList(IEnumerable<Image> images, SizeI size)

Parameters

images IEnumerable<Image>

Collection of images to be stored in this new instance.

size SizeI

New size of the images.

ImageList(string?, Uri?)

Initializes a new instance of the ImageList class using an image strip loaded from the specified URL.

public ImageList(string? url, Uri? baseUri = null)

Parameters

url string

The URL of the image to load. Can be a relative or absolute path. Cannot be null or empty.

baseUri Uri

An optional base URI to resolve relative URLs. If null, relative URLs are resolved based on the application's context.

ImageList(Image)

Initializes a new instance of the ImageList class with specified image strip.

public ImageList(Image stripImage)

Parameters

stripImage Image

List of images concatenated in a single image strip.

ImageList(Image, int)

Initializes a new instance of the ImageList class with specified image strip.

public ImageList(Image stripImage, int imageWidth)

Parameters

stripImage Image

List of images concatenated in a single image strip.

imageWidth int

Width of the particular image in the strip.

ImageList(bool)

Initializes a new instance of the ImageList with default values.

public ImageList(bool immutable)

Parameters

immutable bool

ImageList()

Initializes a new instance of the ImageList with default values.

public ImageList()