Class SunburstRecordDrawEventArgs
EventArgs which handles the drawing process of the Sunburst node
Inheritance
System.Object
System.EventArgs
SunburstRecordDrawEventArgs
Namespace: FastReport.BG.Sunburst
Assembly: FastReport.BG.dll
Syntax
public class SunburstRecordDrawEventArgs : EventArgs
Constructors
SunburstRecordDrawEventArgs(Graphics, SunburstGeometry, GraphicsPath, Style, HierarchicalRecord)
Constructs a new instance of SunburstRecordDrawEventArgs
Declaration
public SunburstRecordDrawEventArgs(Graphics g, SunburstGeometry geometry, GraphicsPath path, Style style, HierarchicalRecord record)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics context |
SunburstGeometry | geometry | Geometry of the node |
System.Drawing.Drawing2D.GraphicsPath | path | GraphicsPath of the node figure |
Style | style | Drawing style |
HierarchicalRecord | record | Record which node represents |
Properties
Geometry
Geometry of the node
Declaration
public SunburstGeometry Geometry { get; }
Property Value
Type | Description |
---|---|
SunburstGeometry |
Graphics
The graphics context
Declaration
public Graphics Graphics { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Graphics |
Path
GraphicsPath of the node
Declaration
public GraphicsPath Path { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath |
Record
Record which node represents
Declaration
public HierarchicalRecord Record { get; }
Property Value
Type | Description |
---|---|
HierarchicalRecord |
Style
Drawing style
Declaration
public Style Style { get; }
Property Value
Type | Description |
---|---|
Style |
Methods
DrawBackground()
Default draw background
Declaration
public void DrawBackground()
DrawBorder()
Default draw border
Declaration
public void DrawBorder()
DrawText()
Default draw text
Declaration
public void DrawText()