Search Results for

    Show / Hide Table of Contents

    Class GlassFill

    Class represents the glass fill.

    Inheritance
    System.Object
    FillBase
    GlassFill
    Inherited Members
    FillBase.CreateBrush(RectangleF, Single, Single)
    FillBase.Deserialize(FRReader, String)
    FillBase.FinalizeComponent()
    FillBase.InitializeComponent()
    Namespace: FastReport
    Assembly: FastReport.Base.dll
    Syntax
    public class GlassFill : FillBase

    Constructors

    GlassFill()

    Initializes the GlassFill class with default settings.

    Declaration
    public GlassFill()

    GlassFill(Color, Single, Boolean)

    Initializes the GlassFill class with given color, blend ratio and hatch style.

    Declaration
    public GlassFill(Color color, float blend, bool hatch)
    Parameters
    Type Name Description
    Color color

    Color.

    System.Single blend

    Blend ratio (0..1).

    System.Boolean hatch

    Display the hatch.

    Properties

    Blend

    Gets or sets the blend value.

    Declaration
    public float Blend { get; set; }
    Property Value
    Type Description
    System.Single
    Remarks

    Value must be between 0 and 1.

    Color

    Gets or sets the fill color.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    Hatch

    Gets or sets a value determines whether to draw a hatch or not.

    Declaration
    public bool Hatch { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsTransparent

    Declaration
    public override bool IsTransparent { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    FillBase.IsTransparent

    Methods

    Clone()

    Declaration
    public override FillBase Clone()
    Returns
    Type Description
    FillBase
    Overrides
    FillBase.Clone()

    CreateBrush(RectangleF)

    Declaration
    public override Brush CreateBrush(RectangleF rect)
    Parameters
    Type Name Description
    RectangleF rect
    Returns
    Type Description
    Brush
    Overrides
    FillBase.CreateBrush(RectangleF)

    Draw(FRPaintEventArgs, RectangleF)

    Declaration
    public override void Draw(FRPaintEventArgs e, RectangleF rect)
    Parameters
    Type Name Description
    FRPaintEventArgs e
    RectangleF rect
    Overrides
    FillBase.Draw(FRPaintEventArgs, RectangleF)

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Serialize(FRWriter, String, FillBase)

    Declaration
    public override void Serialize(FRWriter writer, string prefix, FillBase fill)
    Parameters
    Type Name Description
    FRWriter writer
    System.String prefix
    FillBase fill
    Overrides
    FillBase.Serialize(FRWriter, String, FillBase)
    Back to top © 1998-2025 Copyright Fast Reports Inc.