• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class GradientFill

Represents the gradient fill used by the presentation model.

Inheritance
object
GradientFill
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class GradientFill

Constructors

GradientFill()

Initializes a new instance of the gradient fill class.

Declaration
public GradientFill()

Properties

Angle

Gets or sets the angle associated with this object.

Declaration
public int Angle { get; set; }
Property Value
Type Description
int

GradientStops

Gets the collection of gradient stops associated with this object.

Declaration
public GradientStopCollection GradientStops { get; }
Property Value
Type Description
GradientStopCollection

RotateWithShape

Gets or sets the rotate with shape associated with this object.

Declaration
public bool RotateWithShape { get; set; }
Property Value
Type Description
bool

Type

Gets or sets the type associated with this object.

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

Methods

Equals(GradientFill)

Determines whether this value matches the supplied value.

Declaration
protected bool Equals(GradientFill other)
Parameters
Type Name Description
GradientFill other

The other supplied to this operation.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

Equals(object)

Determines whether this value matches the supplied value.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with this value.

Returns
Type Description
bool

true if the operation succeeds; otherwise, false.

Overrides
object.Equals(object)

GetHashCode()

Returns the hash code for this value.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The get hash code value produced by the operation.

Overrides
object.GetHashCode()

SetDirection(GradientDirection)

Sets the direction for this gradient fill.

Declaration
public void SetDirection(GradientDirection direction)
Parameters
Type Name Description
GradientDirection direction

The direction supplied to this operation.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX