Struct GradientStop | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct GradientStop

    The gradient stops used for gradient fills.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    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
    System.Single
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023