using System.Collections; using System.Collections.Generic; using UnityEngine; // Shapes © Freya Holmér - https://twitter.com/FreyaHolmer/ // Website & Documentation - https://acegikmo.com/shapes/ namespace Shapes { /// An interface for fillable shapes public interface IFillable { /// Get or set the fill style. Note: you must also set UseFill to true if you want to enable fills GradientFill Fill { get; set; } /// Whether or not to use the gradient fill overlay bool UseFill { get; set; } /// What gradient fill type to use FillType FillType { get; set; } /// Whether gradient fills should be in local or world space FillSpace FillSpace { get; set; } /// The origin (in the given FillSpace) to use for radial gradients Vector3 FillRadialOrigin { get; set; } /// The radius (in the given FillSpace) to use for radial gradients float FillRadialRadius { get; set; } /// The start point (in the given FillSpace) to use for linear gradients Vector3 FillLinearStart { get; set; } /// The end point (in the given FillSpace) to use for linear gradients Vector3 FillLinearEnd { get; set; } /// The start color of linear gradients. The center color for radial gradients Color FillColorStart { get; set; } /// The end color of linear gradients. The outer color for radial gradients Color FillColorEnd { get; set; } } }