From 587f76184d3fce41b4dcb4603bdc5b6f2467b4f9 Mon Sep 17 00:00:00 2001 From: Hannele Ruiz Date: Tue, 19 Dec 2023 01:54:58 -0300 Subject: [PATCH] Added properties for Position, Size, Color and Heading --- LemonUI/Elements/ScaledAnim.cs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/LemonUI/Elements/ScaledAnim.cs b/LemonUI/Elements/ScaledAnim.cs index 4071fda..d8b7734 100644 --- a/LemonUI/Elements/ScaledAnim.cs +++ b/LemonUI/Elements/ScaledAnim.cs @@ -30,6 +30,38 @@ public class ScaledAnim : BaseElement #region Properties + /// + /// The position of this animation. + /// + public override PointF Position + { + get => texture.Position; + set => texture.Position = value; + } + /// + /// The size of this animation. + /// + public override SizeF Size + { + get => texture.Size; + set => texture.Size = value; + } + /// + /// The color of this animation. + /// + public override Color Color + { + get => texture.Color; + set => texture.Color = value; + } + /// + /// The rotation of this animation. + /// + public override float Heading + { + get => texture.Heading; + set => texture.Heading = value; + } /// /// The dictionary that contains the textures. ///