Class BubbleRecordDrawEventArgs
EventArgs which handles the drawing process of the Bubble node
Inheritance
System.Object
System.EventArgs
BubbleRecordDrawEventArgs
Namespace: FastReport.BG.Bubble
Assembly: FastReport.BG.dll
Syntax
public class BubbleRecordDrawEventArgs : EventArgs
Constructors
BubbleRecordDrawEventArgs(Graphics, Rectangle, Style, HierarchicalRecord, Boolean)
Constructs a new instance of BubbleRecordDrawEventArgs
Declaration
public BubbleRecordDrawEventArgs(Graphics g, Rectangle bounds, Style style, HierarchicalRecord record, bool radial)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics context |
System.Drawing.Rectangle | bounds | Bounding rectangle of the node |
Style | style | Drawing style |
HierarchicalRecord | record | Record which node represents |
System.Boolean | radial | Enable radial text |
Properties
Bounds
The bounding rectangle of the node
Declaration
public Rectangle Bounds { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
ClientRectangle
Bounding rectangle - spacing
Declaration
public Rectangle ClientRectangle { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Rectangle |
Graphics
The Graphics context
Declaration
public Graphics Graphics { get; }
Property Value
Type | Description |
---|---|
System.Drawing.Graphics |
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 backgound
Declaration
public void DrawBackground()
DrawBorder()
Default draw border
Declaration
public void DrawBorder()
DrawText()
Default draw text
Declaration
public void DrawText()
DrawText(StringFormat, Boolean)
Draw text with given StringFormat
Declaration
public void DrawText(StringFormat sf, bool radialText)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.StringFormat | sf | StringFormat to use for text draw |
System.Boolean | radialText | Enable radial text |