LinearGradientBrush
Encapsulates a Brush with a linear gradient. This class cannot be inherited.
Gets or sets a Blend that specifies positions and factors that define a custom falloff for the gradient.
Gets or sets a value indicating whether gamma correction is enabled for this LinearGradientBrush.
Gets or sets a ColorBlend that defines a multicolor linear gradient.
Gets or sets the starting and ending colors of the gradient.
Gets a rectangular region that defines the starting and ending points of the gradient.
Gets or sets a copy Matrix that defines a local geometric transform for this LinearGradientBrush.
Gets or sets a WrapMode enumeration that indicates the wrap mode for this LinearGradientBrush.
Initializes a new instance of the LinearGradientBrush class with the specified points and colors.
Initializes a new instance of the LinearGradientBrush class with the specified points and colors.
public LinearGradientBrush(Rectangle rect, Color color1, Color color2, LinearGradientMode linearGradientMode)
Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and orientation.
Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
public LinearGradientBrush(Rectangle rect, Color color1, Color color2, float angle, bool isAngleScaleable)
Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
public LinearGradientBrush(RectangleF rect, Color color1, Color color2, LinearGradientMode linearGradientMode)
Creates a new instance of the LinearGradientBrush based on a rectangle, starting and ending colors, and an orientation mode.
Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
public LinearGradientBrush(RectangleF rect, Color color1, Color color2, float angle, bool isAngleScaleable)
Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
Multiplies the Matrix that represents the local geometric transform of this LinearGradientBrush by the specified Matrix by prepending the specified Matrix.
Multiplies the Matrix that represents the local geometric transform of this LinearGradientBrush by the specified Matrix in the specified order.
Resets the Transform property to identity.
Rotates the local geometric transform by the specified amount. This method prepends the rotation to the transform.
Rotates the local geometric transform by the specified amount in the specified order.
Scales the local geometric transform by the specified amounts. This method prepends the scaling matrix to the transform.
Scales the local geometric transform by the specified amounts in the specified order.
Creates a linear gradient with a center color and a linear falloff to a single color on both ends.
Creates a linear gradient with a center color and a linear falloff to a single color on both ends.
Creates a gradient falloff based on a bell-shaped curve.
Creates a gradient falloff based on a bell-shaped curve.
Translates the local geometric transform by the specified dimensions. This method prepends the translation to the transform.
Translates the local geometric transform by the specified dimensions in the specified order.