using UnityEngine; using UnityEngine.UI; namespace UnityEngine.UI { [DisallowMultipleComponent] public abstract class ProceduralImageModifier : MonoBehaviour { /// /// Calculates the border-radius for Procedural Image. /// /// The radius as Vector4. (started top-left, clockwise) /// Rect of ProceduralImages RectTransform public abstract Vector4 CalculateRadius (Rect imageRect); } }