Struct SunburstGeometry
Structure which groups geometry properties to build a Sunburst node
Namespace: FastReport.BG.Sunburst
Assembly: FastReport.BG.dll
Syntax
public struct SunburstGeometry
Constructors
SunburstGeometry(SunburstGeometry, Int32)
Constructs a new SunburstGeometry structure using source and level
Declaration
public SunburstGeometry(SunburstGeometry source, int level)
Parameters
Type | Name | Description |
---|---|---|
SunburstGeometry | source | Source SunburstGeometry structure |
System.Int32 | level | New level |
SunburstGeometry(SunburstGeometry, Int32, Single, Single)
Constructs a new SunburstGeometry structure using source, level and angles
Declaration
public SunburstGeometry(SunburstGeometry source, int level, float startAngle, float sweepAngle)
Parameters
Type | Name | Description |
---|---|---|
SunburstGeometry | source | Source SunburstGeometry structure |
System.Int32 | level | New level |
System.Single | startAngle | New start angle |
System.Single | sweepAngle | New sweep angle |
SunburstGeometry(Rectangle, Int32, Int32, Single, Single, TextArcDirection)
Constructs a new SunburstGeometry structure
Declaration
public SunburstGeometry(Rectangle bounds, int depth, int level, float startAngle, float sweepAngle, TextArcDirection textDirection)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | bounds | Sunburst bouding rectangle |
System.Int32 | depth | Maximal depth |
System.Int32 | level | Current zero-based level |
System.Single | startAngle | Start angle |
System.Single | sweepAngle | Sweep angle |
TextArcDirection | textDirection | Text direction |
Properties
Bounds
Sunburst bouding rectangle
Declaration
public readonly Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Center
Central point of the figure
Declaration
public readonly PointF Center { get; }
Property Value
Type | Description |
---|---|
System.Drawing.PointF |
DeltaRadius
Radius difference to use for the level
Declaration
public readonly float DeltaRadius { get; }
Property Value
Type | Description |
---|---|
System.Single |
Depth
Maximal depth
Declaration
public readonly int Depth { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Level
Current zero-based level
Declaration
public readonly int Level { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxRadius
Maximal radius
Declaration
public readonly float MaxRadius { get; }
Property Value
Type | Description |
---|---|
System.Single |
MinRadius
Minimal radius
Declaration
public readonly float MinRadius { get; }
Property Value
Type | Description |
---|---|
System.Single |
StartAngle
Start angle
Declaration
public readonly float StartAngle { get; }
Property Value
Type | Description |
---|---|
System.Single |
SweepAngle
Sweep angle
Declaration
public readonly float SweepAngle { get; }
Property Value
Type | Description |
---|---|
System.Single |
TextDirection
Text direction
Declaration
public readonly TextArcDirection TextDirection { get; }
Property Value
Type | Description |
---|---|
TextArcDirection |