rj-action-library/Runtime/UI/Styling/UIStyling.cs

26 lines
419 B
C#
Raw Normal View History

2024-08-09 13:52:49 +00:00
using Godot;
using Rokojori;
namespace Rokojori
{
public class UIStyling
{
public static bool CanPosition( Control control )
{
if ( control is UIRegion || control is UIImage || control is UIText )
{
return true;
}
return false;
}
public static bool HasInnerMargins( Control control )
{
return control is UIImage || control is UIText;
}
}
}