mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-15 20:20:25 +01:00
added new image params & GameSystem constants
This commit is contained in:
@@ -5,15 +5,16 @@ namespace MediaBrowser.Server.Implementations.Drawing
|
||||
public class WatchedIndicatorDrawer
|
||||
{
|
||||
private const int IndicatorHeight = 50;
|
||||
public const int IndicatorWidth = 50;
|
||||
private const int FontSize = 50;
|
||||
|
||||
public void Process(Graphics graphics, Size imageSize)
|
||||
{
|
||||
var x = imageSize.Width - IndicatorHeight;
|
||||
var x = imageSize.Width - IndicatorWidth;
|
||||
|
||||
using (var backdroundBrush = new SolidBrush(Color.FromArgb(225, 204, 51, 51)))
|
||||
{
|
||||
graphics.FillRectangle(backdroundBrush, x, 0, IndicatorHeight, IndicatorHeight);
|
||||
graphics.FillRectangle(backdroundBrush, x, 0, IndicatorWidth, IndicatorHeight);
|
||||
|
||||
const string text = "a";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user