[]
        
(Showing Draft Content)

GrapeCity.Drawing.Brush

Brush Class

Represents an abstract brush.

Implements
Namespace: GrapeCity.Drawing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public abstract class Brush : IEquatable<Brush>
Public MustInherit Class Brush
    Implements IEquatable(Of Brush)

Fields

Name Description
Empty

Gets the empty brush.

Group

Gets the group brush.

Transparent

Gets the transparent brush.

Properties

Name Description
RotateWithShape

Gets or sets a value indicating whether the fill style should rotate with the shape.

Transparency

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

Visible

Returns or sets an Boolean value that determines whether the object is visible. Read/write.

Methods

Name Description
ApplyColorTransform(ColorTransform)

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

ApplyColorTransform(ColorTransform[])

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

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.

ResetTransparency()

Resets transparency from the brush.