Share via


LinearGradientBrush Members

The following tables list the members exposed by the LinearGradientBrush type.

Public Constructors

Name Description
Public Method LinearGradientBrush Initializes a new instance of the LinearGradientBrush class with specified starting and ending colors and a specified gradient path.

Public Fields

Name Description
Public Field EndColor Specifies the color at the end of the gradient path. This is the color at the point specified by the EndX and EndY fields.
Public Field EndX The horizontal coordinate (relative to the left edge of the area being painted) of the ending point of the gradient path. The default value is 1, which is the right edge of the area.
Public Field EndY The vertical coordinate (relative to the top edge of the area being painted) of the ending point of the gradient path. The default value is 1, which is the bottom edge of the area.
Public Field StartColor Specifies the color at the beginning of the gradient path. This is the color at the point specified by the StartX and StartY fields.
Public Field StartX The horizontal coordinate (relative to the left edge of the area being painted) of the starting point of the gradient path. The default value is 0 (zero), which is the left edge of the area.
Public Field StartY The vertical coordinate (relative to the top edge of the area being painted) of the starting point of the gradient path. The default value is 0 (zero), which is the top edge of the area.

Public Properties

Name Description
Public Property Opacity (Inherited from Brush.)

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

LinearGradientBrush Class
Microsoft.SPOT.Presentation.Media Namespace