Learn / Documentation / Script Reference / UIImageCorner


struct in Doozy.Engine.UI


The UIImageCorner class holds all the info about an UIImage corner (rectangle corner)
See Also: UIImage


  • public float Radius – Corner radius

  • public bool Locked – If TRUE, the radius cannot be changed

Public Methods

  • public void Reset() – Resets all the variables to their default values

  • public void ValidateRadius() – Validates the radius value by making sure it does not go below 0