Class TreeMapBestRatioLayoutBuilder
Implementation of the TreeMap layout builder where each node is layouted using best possible aspect ratio (best = 1)
Inherited Members
Namespace: FastReport.BG.TreeMap
Assembly: FastReport.BG.dll
Syntax
public class TreeMapBestRatioLayoutBuilder : TreeMapLayoutBuilderBase
Constructors
TreeMapBestRatioLayoutBuilder(Rectangle, TreeMapNode)
Creates TreeMapBestRatioLayoutBuilder.
Declaration
public TreeMapBestRatioLayoutBuilder(Rectangle bounds, TreeMapNode root)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | bounds | |
TreeMapNode | root |
Properties
FreeHeight
Gets free height.
Declaration
protected int FreeHeight { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FreeOtherSize
Gets free other size.
Declaration
protected int FreeOtherSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FreeSize
Gets free size.
Declaration
protected int FreeSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FreeWidth
Gets free width.
Declaration
protected int FreeWidth { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UseDirection
Gtes using direction.
Declaration
protected TreeMapBestRatioLayoutBuilder.Direction UseDirection { get; }
Property Value
Type | Description |
---|---|
TreeMapBestRatioLayoutBuilder.Direction |
Methods
BuildLayout()
Builds layout.
Declaration
public override void BuildLayout()