Percent(Color, float)
Construct a stop expressed as a percentage of the gradient extent.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static BackgroundGradientStop Percent(Color color, float fraction)
Parameters
Returns
Type | Description |
|---|---|
| BackgroundGradientStop |