Struct GradientStop | Vector Graphics | 1.0.0-preview.34
docs.unity.cn
    Show / Hide Table of Contents

    Struct GradientStop

    The gradient stops used for gradient fills.

    Namespace: Unity.VectorGraphics
    Syntax
    public struct GradientStop

    Properties

    Color

    The color of the stop.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    StopPercentage

    At which percentage this stop applies. Should be between 0 and 1, inclusively.

    Declaration
    public float StopPercentage { get; set; }
    Property Value
    Type Description
    Single
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX