Learn / Documentation / Script Reference / UIImageCorner

UIImageCorner

struct in Doozy.Engine.UI

Description

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

Properties

  • 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