Table of Contents

Struct LoadNinePatchParameters

Namespace
BSGameLib.UI.Textures
Assembly
BSGameLib.UI.dll

The parameters for loading a nine-patch texture at a size.

public readonly record struct LoadNinePatchParameters : ITextureParameters, IEquatable<LoadNinePatchParameters>
Implements
Inherited Members

Constructors

LoadNinePatchParameters(NinePatchTexture, int, int)

The parameters for loading a nine-patch texture at a size.

public LoadNinePatchParameters(NinePatchTexture Texture, int Width, int Height)

Parameters

Texture NinePatchTexture

The texture to load.

Width int

The width to load it at, in pixels.

Height int

The height to load it at, in pixels.

Properties

Height

The height to load it at, in pixels.

public int Height { get; init; }

Property Value

int

Texture

The texture to load.

public NinePatchTexture Texture { get; init; }

Property Value

NinePatchTexture

Width

The width to load it at, in pixels.

public int Width { get; init; }

Property Value

int