Specify the gradients used by gradientType and setGradientType:.
Available in Mac OS X v10.0 and later.
C# | Visual Basic | Visual C++ |
public enum NSGradientType
Public Enumeration NSGradientType
public enum class NSGradientType
Member | Description |
---|---|
NSGradientNone | There is no gradient, so the button looks flat. Available in Mac OS X v10.0 and later. |
NSGradientConcaveWeak | The top-left corner is light gray, and the bottom-right corner is dark gray, so the button appears to be pushed in. Available in Mac OS X v10.0 and later. |
NSGradientConcaveStrong | As with NSGradientConcaveWeak, the top-left corner is light gray, and the bottom-right corner is dark gray, but the difference between the grays is greater, so the appearance of being pushed in is stronger. Available in Mac OS X v10.0 and later. |
NSGradientConvexWeak | The top-left corner is dark gray, and the bottom-right corner is light gray, so the button appears to be sticking out. Available in Mac OS X v10.0 and later. |
NSGradientConvexStrong | As with NSGradientConvexWeak, the top-left corner is dark gray, and the bottom-right corner is light gray, but the difference between the grays is greater, so the appearance of sticking out is stronger. Available in Mac OS X v10.0 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)