Skip to content

BarImages

namespace Griff.Scenes;
public struct BarImages

Pictures for the parts of a bar (see Bar and Bar): the Fill’s, laid over the whole bar and shown only as far as it’s full, and the Background’s, shown whole, as a nine-slice when Slice is more than 0 (like Slice and SliceSize). Paths are relative to the project’s Assets folder; null or empty for a plain color.

public string? Background { get; init; }
public string? Fill { get; init; }
public float Slice { get; init; }
public float SliceSize { get; init; }
public void Deconstruct(out string? Fill, out string? Background, out float Slice, out float SliceSize)
public override bool Equals(object obj)
public bool Equals(BarImages other)
public override int GetHashCode()
public override string ToString()