Table of Contents

Struct LoadHorizontalThreePatchParameters

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

The parameters for loading a horizontal three-patch texture at a size.

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

Constructors

LoadHorizontalThreePatchParameters(HorizontalThreePatchTexture, int, int)

The parameters for loading a horizontal three-patch texture at a size.

public LoadHorizontalThreePatchParameters(HorizontalThreePatchTexture Texture, int Width, int Height)

Parameters

Texture HorizontalThreePatchTexture

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 HorizontalThreePatchTexture Texture { get; init; }

Property Value

HorizontalThreePatchTexture

Width

The width to load it at, in pixels.

public int Width { get; init; }

Property Value

int