[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.GradientFillEffect

GradientFillEffect Struct

Represents the gradient fill effect.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public struct GradientFillEffect : IEquatable<GradientFillEffect>
Public Structure GradientFillEffect
    Implements IEquatable(Of GradientFillEffect)

Fields

Name Description
Empty

Represent the unset gradient fill formatting. Assigning this value works as same as clearing the gradient fill formatting.

Properties

Name Description
Bottom

Gets the position of the bottom edge of the inner rectangle (color 1) in percentage.

Count

Gets the total count of gradient stops.

Degree

Gets the angle of the linear gradient fill.

GradientType

Gets the type of this gradient fill.

this[int]

Gets the gradient stop at the specified index.

Left

Gets the position of the left edge of the inner rectangle (color 1) in percentage.

Right

Gets the position of the right edge of the inner rectangle (color 1) in percentage.

Top

Gets the position of the top edge of the inner rectangle (color 1) in percentage.

Methods

Name Description
Create(double, Color, Color)

Creates the linear gradient fill.

Create(double, GradientStop[])

Creates the path gradient fill.

Create(double, double, double, double, Color, Color)

Creates the path gradient fill.

Create(double, double, double, double, GradientStop[])

Creates the path gradient fill.

Equals(GradientFillEffect)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

IsEmpty()

Determines whether this gradient effect is empty.

Operators

Name Description
operator ==(GradientFillEffect, GradientFillEffect)

Returns a value that indicates whether two specified GradientFillEffect values are equal.

operator !=(GradientFillEffect, GradientFillEffect)

Returns a value that indicates whether two specified GradientFillEffect values are not equal.