|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
The main circle
Field Summary | |
---|---|
System.Drawing.RectangleF | boundingBox |
System.Drawing.PointF | center |
System.Drawing.SolidBrush | currentBrush |
float | diameter |
System.Collections.ArrayList | Dots |
int | padding |
System.Drawing.Pen | pen |
double |
PiDiv
Pi divided by 180 |
float | radius |
Constructor Summary | |
---|---|
Circle(System.Drawing.Pen pen) Constructor |
Property Summary | |
---|---|
System.Drawing.RectangleF |
Bounds
Gets the bounding box |
System.Drawing.PointF |
Center
Gets the center position |
int |
Count
Gets the number of Dots |
float |
Diameter
Gets the diameter |
System.Drawing.Pen |
Pen
Gets or sets the pen to draw the circle in |
float |
Radius
Gets the radius |
Method Summary | |
---|---|
void |
Add(Naanou.Vis.Dot Dot) Adds a Dot |
void |
Clear() Clears all dots |
double |
DegreesToRadians(double angle) Converts degrees to radians |
Naanou.Vis.Dot |
DotAt(System.Drawing.Point location) Gets the Dot at a location |
void |
Measure(Naanou.Vis.Viewer viewer, System.Drawing.Graphics g) Measure |
void |
Paint(Naanou.Vis.Viewer viewer, System.Drawing.Graphics g) Paints circle and child objects |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private System.Drawing.RectangleF boundingBox
private System.Drawing.PointF center
private System.Drawing.SolidBrush currentBrush
private float diameter
private System.Collections.ArrayList Dots
private int padding
private System.Drawing.Pen pen
public double PiDiv
Pi divided by 180
private float radius
Constructor Detail |
---|
public Circle(System.Drawing.Pen pen)
Constructor
Parameters:
pen
- Property Detail |
---|
public System.Drawing.RectangleF Bounds
Gets the bounding box
public System.Drawing.PointF Center
Gets the center position
public int Count
Gets the number of Dots
public float Diameter
Gets the diameter
public System.Drawing.Pen Pen
Gets or sets the pen to draw the circle in
public float Radius
Gets the radius
Method Detail |
---|
public void Add(Naanou.Vis.Dot Dot)
Adds a Dot
Parameters:
Dot
- Dotpublic void Clear()
Clears all dots
public double DegreesToRadians(double angle)
Converts degrees to radians
Parameters:
angle
- Degreespublic Naanou.Vis.Dot DotAt(System.Drawing.Point location)
Gets the Dot at a location
Parameters:
location
- Locationpublic void Measure(Naanou.Vis.Viewer viewer, System.Drawing.Graphics g)
Measure
Parameters:
viewer
- Viewerg
- Graphics surfacepublic void Paint(Naanou.Vis.Viewer viewer, System.Drawing.Graphics g)
Paints circle and child objects
Parameters:
viewer
- Viewerg
- Graphics surface
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |