Change common parts of model API to use signed integers rather than unsigned for less casting

This commit is contained in:
Daniel Cronqvist 2025-04-24 22:29:24 +02:00
parent de41fb5508
commit ae2e70a223
23 changed files with 102 additions and 102 deletions

View file

@ -8,12 +8,12 @@ public class ImageLayer : BaseLayer
/// <summary>
/// The X position of the image layer in pixels.
/// </summary>
public uint X { get; set; } = 0;
public int X { get; set; } = 0;
/// <summary>
/// The Y position of the image layer in pixels.
/// </summary>
public Optional<uint> Y { get; set; } = 0;
public int Y { get; set; } = 0;
/// <summary>
/// Whether the image drawn by this layer is repeated along the X axis.