Version

Search Results

Clone Method (LinearGradientBrush)

Returns a copy of the brush. Syntax Return Value An identical brush.

CreateGlassBrush Method

Creates a LinearGradientBrush to render a glass effect via the specified parameters. Syntax Parameters backColor The main Color used in rendering glass.backColor2 The secondary Color used in rendering glass.gradientStyle Defines the style of the glass to draw. Return Value A sealed LinearGradientBrush. Remarks Thi...

Seal Method (LinearGradientBrush)

Makes the instance immutable. Any attempts to modify properties or members will result in an exception. Syntax

SetBounds Method (LinearGradientBrush)

Bounds this brush and creates a correspondent direct brush. Syntax Parameters x X-coordinate of the upper-left corner of the bounding rectangle.y Y-coordinate of the upper-left corner of the bounding rectangle.width Width of the bounding rectangle.height Height of the bounding rectangle. Return Value Direct brush.

Type Property (LinearGradientBrush)

Gets the BrushType of this brush. Syntax

LinearGradientBrush Constructor()

Initializes a new instance of the LinearGradientBrush class. Syntax

LinearGradientBrush Constructor(Color,Color)

Initializes a new instance of the LinearGradientBrush class. Syntax Parameters startColor Start color of the gradient.endColor End color of the gradient.

LinearGradientBrush Constructor(Color,Color,Single)

Initializes a new instance of the LinearGradientBrush class. Syntax Parameters startColor Start color for the gradient.endColor End color for the gradient.angle Rotation angle.

LinearGradientBrush Constructor(ColorBlend,Single)

Initializes a new instance of the LinearGradientBrush class. Syntax Parameters blend Color blend for the gradient.angle Rotation angle.

LinearGradientBrush Constructor(Single)

Initializes a new instance of the LinearGradientBrush class. Syntax Parameters angle Rotation angle.