GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    GradientStop Struct

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a single gradient stop in a gradient fill.

    • C#
    • VB.NET
    public readonly struct GradientStop
    Public Structure GradientStop

    Properties

    Color

    Specifies the color of the gradient.

    • C#
    • VB.NET
    public readonly Color Color { get; }
    Public ReadOnly Property Color As Color
    Property Value
    Color

    The color of the gradient.

    Position

    Specifies where this gradient stop should appear in the color band. This position is expressed as a percentage from 0 to 1.

    • C#
    • VB.NET
    public readonly double Position { get; }
    Public ReadOnly Property Position As Double
    Property Value
    Double

    The position of the gradient stop.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.