Search Results for

    Show / Hide Table of Contents

    Class Chain

    Chain class.

    Inheritance
    System.Object
    Chain
    Namespace: CirclePacking
    Assembly: FastReport.BG.dll
    Syntax
    public class Chain

    Properties

    CenterLeft

    Left shift for center between starting circles.

    Declaration
    public double CenterLeft { get; set; }
    Property Value
    Type Description
    System.Double

    CenterTop

    Top shift for center between starting circles.

    Declaration
    public double CenterTop { get; set; }
    Property Value
    Type Description
    System.Double

    Count

    Count of items in a chain.

    Declaration
    public int Count { get; set; }
    Property Value
    Type Description
    System.Int32

    Head

    Head item.

    Declaration
    public ChainItem Head { get; set; }
    Property Value
    Type Description
    ChainItem

    Methods

    Add(ChainItem)

    Adds a chain item to the chain.

    Declaration
    public void Add(ChainItem item)
    Parameters
    Type Name Description
    ChainItem item

    Chain item.

    Add(Circle)

    Adds the circle in a chain.

    Declaration
    public void Add(Circle value)
    Parameters
    Type Name Description
    Circle value

    Circle.

    AddAfter(ChainItem, ChainItem)

    Adds a item in a chain after item.

    Declaration
    public void AddAfter(ChainItem after, ChainItem item)
    Parameters
    Type Name Description
    ChainItem after

    Chain element after which it is necessary to add.

    ChainItem item

    Сhain item to be added.

    AddAfter(ChainItem, Circle)

    Adds a circle in a chain after item.

    Declaration
    public void AddAfter(ChainItem after, Circle value)
    Parameters
    Type Name Description
    ChainItem after

    Chain element after which it is necessary to add.

    Circle value

    Circle.

    Clear()

    Clear chain.

    Declaration
    public void Clear()

    Delete(ChainItem)

    Deletes chain item.

    Declaration
    public void Delete(ChainItem item)
    Parameters
    Type Name Description
    ChainItem item

    Chain item.

    DeleteSegment(ChainItem, ChainItem)

    Deletes chain segment from first to last including them.

    Declaration
    public void DeleteSegment(ChainItem first, ChainItem last)
    Parameters
    Type Name Description
    ChainItem first

    First chain item.

    ChainItem last

    Last chain item.

    GetNearest()

    Gets the nearest chain item to the center.

    Declaration
    public ChainItem GetNearest()
    Returns
    Type Description
    ChainItem

    Chain item.

    UpdateRanks(ChainItem)

    Updates ranks in the chain for item.

    Declaration
    public void UpdateRanks(ChainItem first)
    Parameters
    Type Name Description
    ChainItem first

    First chain item.

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