mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
831 B
26 lines
831 B
using YamlDotNet.Serialization; |
|
|
|
namespace ErsatzTV.Core.Graphics; |
|
|
|
public class StyleDefinition |
|
{ |
|
public string Name { get; set; } |
|
|
|
[YamlMember(Alias = "font_size", ApplyNamingConventions = false)] |
|
public float? FontSize { get; set; } |
|
|
|
[YamlMember(Alias = "font_weight", ApplyNamingConventions = false)] |
|
public int? FontWeight { get; set; } |
|
|
|
[YamlMember(Alias = "font_italic", ApplyNamingConventions = false)] |
|
public bool? FontItalic { get; set; } |
|
|
|
[YamlMember(Alias = "font_family", ApplyNamingConventions = false)] |
|
public string FontFamily { get; set; } |
|
|
|
[YamlMember(Alias = "text_color", ApplyNamingConventions = false)] |
|
public string TextColor { get; set; } |
|
|
|
[YamlMember(Alias = "letter_spacing", ApplyNamingConventions = false)] |
|
public float? LetterSpacing { get; set; } |
|
}
|
|
|