docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GradientStop

    The gradient stops used for gradient fills.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.VectorGraphics
    Assembly: Unity.VectorGraphics.dll
    Syntax
    public struct GradientStop

    Properties

    Color

    The color of the stop.

    Declaration
    public Color Color { readonly 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 { readonly get; set; }
    Property Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)