Search Results for

    Show / Hide Table of Contents

    Struct IcicleGeometry

    Structure which groups geometry properties to build a Icicle node

    Namespace: FastReport.BG.Icicle
    Assembly: FastReport.BG.dll
    Syntax
    public struct IcicleGeometry

    Constructors

    IcicleGeometry(IcicleGeometry, Int32, RectangleF)

    Constructs a new IcicleGeometry structure using source and level

    Declaration
    public IcicleGeometry(IcicleGeometry source, int level, RectangleF bounds)
    Parameters
    Type Name Description
    IcicleGeometry source

    Source IcicleGeometry structure

    System.Int32 level

    New level

    System.Drawing.RectangleF bounds

    IcicleGeometry(RectangleF, IcicleDirection, Int32, Int32)

    Constructs a new IcicleGeometry structure

    Declaration
    public IcicleGeometry(RectangleF bounds, IcicleDirection direction, int depth, int level)
    Parameters
    Type Name Description
    System.Drawing.RectangleF bounds

    Icicles bouding rectangle

    IcicleDirection direction

    Direction of icicles

    System.Int32 depth

    Maximal depth

    System.Int32 level

    Current zero-based level

    Properties

    Bounds

    Icicle bouding rectangle

    Declaration
    public readonly RectangleF Bounds { get; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    Depth

    Maximal depth

    Declaration
    public readonly int Depth { get; }
    Property Value
    Type Description
    System.Int32

    Direction

    Icicles direction

    Declaration
    public readonly IcicleDirection Direction { get; }
    Property Value
    Type Description
    IcicleDirection

    Level

    Current zero-based level

    Declaration
    public readonly int Level { get; }
    Property Value
    Type Description
    System.Int32

    LevelSize

    Size of level in pixels

    Declaration
    public readonly float LevelSize { get; }
    Property Value
    Type Description
    System.Single

    SideSize

    Full size of side

    Declaration
    public readonly float SideSize { get; }
    Property Value
    Type Description
    System.Single

    SideStart

    Start point of side

    Declaration
    public readonly float SideStart { get; }
    Property Value
    Type Description
    System.Single

    Methods

    OffsetRect(RectangleF)

    Offset soruce rectangle by 1 level

    Declaration
    public RectangleF OffsetRect(RectangleF source)
    Parameters
    Type Name Description
    System.Drawing.RectangleF source

    Source rectangle

    Returns
    Type Description
    System.Drawing.RectangleF

    New offsetted rectangle

    Rect(Single, Single)

    Create a rectangle with given start and size at the geometry level

    Declaration
    public RectangleF Rect(float startPos, float size)
    Parameters
    Type Name Description
    System.Single startPos

    start position

    System.Single size

    size

    Returns
    Type Description
    System.Drawing.RectangleF

    New rectangle

    Back to top © 2021-2022 Copyright Fast Reports Inc.