Struct LoadHorizontalThreePatchParameters
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
TextureHorizontalThreePatchTextureThe texture to load.
WidthintThe width to load it at, in pixels.
HeightintThe height to load it at, in pixels.
Properties
Height
The height to load it at, in pixels.
public int Height { get; init; }
Property Value
Texture
The texture to load.
public HorizontalThreePatchTexture Texture { get; init; }
Property Value
Width
The width to load it at, in pixels.
public int Width { get; init; }