System.Drawing.Drawing2D.LinearGradientBrush Members

The members of System.Drawing.Drawing2D.LinearGradientBrush are listed below.

See Also: Inherited members from System.Drawing.Brush

Public Constructors

Initializes a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class with the specified points and colors.

Initializes a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class with the specified points and colors.

Creates a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class based on a rectangle, starting and ending colors, and orientation.

Creates a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.

Creates a new instance of the System.Drawing.Drawing2D.LinearGradientBrush based on a rectangle, starting and ending colors, and an orientation mode.

Creates a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.

Creates a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.

Creates a new instance of the System.Drawing.Drawing2D.LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.

Public Properties

BlendBlend.

Gets or sets a System.Drawing.Drawing2D.Blend that specifies positions and factors that define a custom falloff for the gradient.

GammaCorrectionbool.

Gets or sets a value indicating whether gamma correction is enabled for this System.Drawing.Drawing2D.LinearGradientBrush.

InterpolationColorsColorBlend.

Gets or sets a System.Drawing.Drawing2D.ColorBlend that defines a multicolor linear gradient.

LinearColorsSystem.Drawing.Color[].

Gets or sets the starting and ending colors of the gradient.

[read-only]
RectangleSystem.Drawing.RectangleF.

Gets a rectangular region that defines the starting and ending points of the gradient.

TransformMatrix.

Gets or sets a copy System.Drawing.Drawing2D.Matrix that defines a local geometric transform for this System.Drawing.Drawing2D.LinearGradientBrush.

WrapModeWrapMode.

Gets or sets a System.Drawing.Drawing2D.WrapMode enumeration that indicates the wrap mode for this System.Drawing.Drawing2D.LinearGradientBrush.

Public Methods

override
Clone() : object

Creates an exact copy of this System.Drawing.Drawing2D.LinearGradientBrush.

MultiplyTransform(Matrix)

Multiplies the System.Drawing.Drawing2D.Matrix that represents the local geometric transform of this System.Drawing.Drawing2D.LinearGradientBrush by the specified System.Drawing.Drawing2D.Matrix by prepending the specified System.Drawing.Drawing2D.Matrix.

MultiplyTransform(Matrix, MatrixOrder)

Multiplies the System.Drawing.Drawing2D.Matrix that represents the local geometric transform of this System.Drawing.Drawing2D.LinearGradientBrush by the specified System.Drawing.Drawing2D.Matrix in the specified order.

ResetTransform()

Resets the LinearGradientBrush.Transform property to identity.

RotateTransform(float)

Rotates the local geometric transform by the specified amount. This method prepends the rotation to the transform.

RotateTransform(float, MatrixOrder)

Rotates the local geometric transform by the specified amount in the specified order.

ScaleTransform(float, float)

Scales the local geometric transform by the specified amounts. This method prepends the scaling matrix to the transform.

ScaleTransform(float, float, MatrixOrder)

Scales the local geometric transform by the specified amounts in the specified order.

SetBlendTriangularShape(float)

Creates a linear gradient with a center color and a linear falloff to a single color on both ends.

SetBlendTriangularShape(float, float)

Creates a linear gradient with a center color and a linear falloff to a single color on both ends.

SetSigmaBellShape(float)

Creates a gradient falloff based on a bell-shaped curve.

SetSigmaBellShape(float, float)

Creates a gradient falloff based on a bell-shaped curve.

TranslateTransform(float, float)

Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform.

TranslateTransform(float, float, MatrixOrder)

Translates the local geometric transform by the specified dimensions in the specified order.