[]
        
(Showing Draft Content)

GrapeCity.Drawing.GradientBrush

GradientBrush Class

Represents a gradient composed of gradient stops.

Inheritance
GradientBrush
Implements
Namespace: GrapeCity.Drawing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public sealed class GradientBrush : Brush, IEquatable<Brush>
Public NotInheritable Class GradientBrush
    Inherits Brush
    Implements IEquatable(Of Brush)

Properties

Name Description
Angle

Gets the angle of this GradientBrush.

FillToRect

Returns a rectangle that guides gradient brush through drawing.

GradientColorType

Returns specifies the type of gradient used in a shape's fill.

GradientStops

Get the an array of gradient stops.

GradientStyle

Get gradient style from this brush.

PathShadeType

Defines the PathShadeTypeValues enumeration.

PresetGradientType

Returns specifies the PresetGradientType type of gradient used in a shape's fill.

Scaled

Gets a value indicating whether this GradientBrush is scaled.

TileFlipMode

Returns the Tile Flip Mode of gradient brush.

TileRect

Returns the Tile Rectangle of gradient brush.

Transparency

Returns or sets the degree of transparency of the specified brush as a value from 0.0 (opaque) through 1.0 (clear).

Variant

Get gradient variant from this brush.

Methods

Name Description
ApplyColorTransform(ColorTransform)

Creates new brush from the current brush with the specified ColorTransform effect.

ApplyTransparent(double, double)

Applies transparent for gradient stops.

Clone()

Creates a new Brush instance with the same value as an existing brush.

Equals(Brush)

Indicates whether the current object is equal to another object of the same type.

GetColor()

Gets the solid color from this brush.