ODF .NET Class Library
Show/Hide TOC

# Gradient Class

Represents a gradient for filling a drawing object.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Gradient

VB

    Public Class Gradient

Inheritance
  Object Gradient

## Constructors

Gradient | Initializes a new instance of the Gradient class.

## Properties

Angle | Specifies an angle that rotates the axis at which the gradient values are interpolated.
Border | Specifies the percentage value that is used to scale a border area which is filled by a solid color.
CenterX | Specifies the center of the geometry that is used for the gradient.
CenterY | Specifies the center of the geometry that is used for the gradient.
DisplayName | Specifies the name of a gradient.
EndColor | Specifies the end value for the gradient element.
EndIntensity | Specifies the intensity of the gradient's end color as a percentage value.
Name | Specifies the name by which a gradient can be referenced.
StartColor | Specifies the start value for the gradient element.
StartIntensity | Specifies the intensity of the gradient's start color as a percentage value.
Style | Specifies the rendering of graphic objects.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Gradient object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace