LyricDetailExt.cs 450 B

1234567891011121314151617181920
  1. using BeatLyrics.Common.Models;
  2. using BeatLyrics.Tool.Utils;
  3. using Newtonsoft.Json;
  4. using System;
  5. using System.Drawing;
  6. namespace BeatLyrics.Tool.Models
  7. {
  8. public class LyricDetailExt : LyricDetail
  9. {
  10. [JsonIgnore]
  11. public string TimeText => TimeSpan.FromMilliseconds(TimeMs).FormatToTotalMinuteAndSecondsAndMs();
  12. [JsonIgnore]
  13. public Rectangle Box;
  14. [JsonIgnore]
  15. public Rectangle Hit;
  16. }
  17. }