LinearGradientBrush Members
.NET Framework 3.5
Encapsulates a Brush with a linear gradient. This class cannot be inherited.
The LinearGradientBrush type exposes the following members.
| Name | Description | |
|---|---|---|
|
LinearGradientBrush | Overloaded. Initializes a new instance of the LinearGradientBrush class with the specified points and colors. |
| Name | Description | |
|---|---|---|
|
Clone | Creates an exact copy of this LinearGradientBrush. (Overrides Brush.Clone().) |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
Dispose | Overloaded. Releases all resources used by the Brush. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Brush.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
MemberwiseClone | Overloaded. |
|
MultiplyTransform | Overloaded. Multiplies the Matrix that represents the local geometric transform of this LinearGradientBrush by the specified Matrix by prepending the specified Matrix. |
|
ResetTransform | Resets the Transform property to identity. |
|
RotateTransform | Overloaded. Rotates the local geometric transform by the specified amount. This method prepends the rotation to the transform. |
|
ScaleTransform | Overloaded. Scales the local geometric transform by the specified amounts. This method prepends the scaling matrix to the transform. |
|
SetBlendTriangularShape | Overloaded. Creates a linear gradient with a center color and a linear falloff to a single color on both ends. |
|
SetNativeBrush | In a derived class, sets a reference to a GDI+ brush object. (Inherited from Brush.) |
|
SetSigmaBellShape | Overloaded. Creates a gradient falloff based on a bell-shaped curve. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TranslateTransform | Overloaded. Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform. |
| Name | Description | |
|---|---|---|
|
Blend | Gets or sets a Blend that specifies positions and factors that define a custom falloff for the gradient. |
|
GammaCorrection | Gets or sets a value indicating whether gamma correction is enabled for this LinearGradientBrush. |
|
InterpolationColors | Gets or sets a ColorBlend that defines a multicolor linear gradient. |
|
LinearColors | Gets or sets the starting and ending colors of the gradient. |
|
Rectangle | Gets a rectangular region that defines the starting and ending points of the gradient. |
|
Transform | Gets or sets a copy Matrix that defines a local geometric transform for this LinearGradientBrush. |
|
WrapMode | Gets or sets a WrapMode enumeration that indicates the wrap mode for this LinearGradientBrush. |