Search Results for

    Show / Hide Table of Contents

    Class SolidFill

    Class represents the solid fill.

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

    Constructors

    SolidFill()

    Initializes the SolidFill class with Transparent color.

    Declaration
    public SolidFill()

    SolidFill(Color)

    Initializes the SolidFill class with specified color.

    Declaration
    public SolidFill(Color color)
    Parameters
    Type Name Description
    Color color

    Properties

    Color

    Gets or sets the fill color.

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

    IsTransparent

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

    Methods

    Clone()

    Creates exact copy of this fill.

    Declaration
    public override FillBase Clone()
    Returns
    Type Description
    FillBase

    Copy of this object.

    Overrides
    FillBase.Clone()

    CreateBrush(RectangleF)

    Creates the GDI+ Brush object.

    Declaration
    public override Brush CreateBrush(RectangleF rect)
    Parameters
    Type Name Description
    RectangleF rect

    Drawing rectangle.

    Returns
    Type Description
    Brush

    Brush object.

    Overrides
    FillBase.CreateBrush(RectangleF)

    Draw(FRPaintEventArgs, RectangleF)

    Fills the specified rectangle.

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

    Draw event arguments.

    RectangleF rect

    Drawing rectangle.

    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)

    Serializes the fill.

    Declaration
    public override void Serialize(FRWriter writer, string prefix, FillBase fill)
    Parameters
    Type Name Description
    FRWriter writer

    Writer object.

    System.String prefix

    Name of the fill property.

    FillBase fill

    Fill object to compare with.

    Overrides
    FillBase.Serialize(FRWriter, String, FillBase)
    Remarks

    This method is for internal use only.

    Back to top © 1998-2025 Copyright Fast Reports Inc.