Skip to content

Commit

Permalink
Added properties for Position, Size, Color and Heading
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Dec 19, 2023
1 parent f52abb4 commit 587f761
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions LemonUI/Elements/ScaledAnim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,38 @@ public class ScaledAnim : BaseElement

#region Properties

/// <summary>
/// The position of this animation.
/// </summary>
public override PointF Position
{
get => texture.Position;
set => texture.Position = value;
}
/// <summary>
/// The size of this animation.
/// </summary>
public override SizeF Size
{
get => texture.Size;
set => texture.Size = value;
}
/// <summary>
/// The color of this animation.
/// </summary>
public override Color Color
{
get => texture.Color;
set => texture.Color = value;
}
/// <summary>
/// The rotation of this animation.
/// </summary>
public override float Heading
{
get => texture.Heading;
set => texture.Heading = value;
}
/// <summary>
/// The dictionary that contains the textures.
/// </summary>
Expand Down

0 comments on commit 587f761

Please sign in to comment.