Search Results for

    Show / Hide Table of Contents

    Class GradientStop

    Represents a gradient stop in a gradient fill.

    Inheritance
    System.Object
    GradientStop
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class GradientStop : Object

    Constructors

    GradientStop()

    Declaration
    public GradientStop()

    Fields

    FirstDefault

    Return the default instance of the gradient stop.

    Declaration
    public static GradientStop FirstDefault
    Field Value
    Type Description
    GradientStop

    SecondDefault

    Return the default instance of the gradient stop.

    Declaration
    public static GradientStop SecondDefault
    Field Value
    Type Description
    GradientStop

    Properties

    Color

    Gets or sets the scheme color of the gradient stop.

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

    StopPoint

    Gets or sets the position of the gradient stop.

    Declaration
    public double StopPoint { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    GetStopPoint(MeasurementUnit)

    Gets the position of the gradient stop.

    Declaration
    public double GetStopPoint(MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    MeasurementUnit measurementUnit

    The measurement unit for the position.

    Returns
    Type Description
    System.Double

    The position of the gradient stop.

    SetStopPoint(Double, MeasurementUnit)

    Sets the position of the gradient stop.

    Declaration
    public void SetStopPoint(double stopPoint, MeasurementUnit measurementUnit)
    Parameters
    Type Name Description
    System.Double stopPoint

    The position of the gradient stop.

    MeasurementUnit measurementUnit

    The measurement unit of the position.

    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.