Struct LoadNinePatchParameters
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
TextureNinePatchTextureThe 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 NinePatchTexture Texture { get; init; }
Property Value
Width
The width to load it at, in pixels.
public int Width { get; init; }