×

LinearGradient Members

The LinearGradient type exposes the following members.

Constructors

  Name Description
Public method LinearGradient()()()() Creates and initializes a new linear gradient with default values.
Public method LinearGradient(Point, Point) Creates and initializes a new linear gradient, using the specified start point and end point.
Public method LinearGradient(Point, Point, array<GradientStop>[]()[][]) Creates and initializes a new linear gradient, using the specified start point, end point, and stops.

Methods

  Name Description
Public method Close  
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Properties

  Name Description
Public property EndPoint The end point of the gradient, where a GradientStop with Offset equal to 1 would be.
Public property StartPoint The start point of the gradient, where a GradientStop with Offset equal to 0 would be.
Public property Stops List of GradientStop defining the color changes within the gradient.

Last updated 19 June 2014

Back to top

×