|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Line which can be displayed from node to node, or node to circle
Field Summary | |
---|---|
System.Drawing.Pen | currentPen |
Naanou.Vis.Effects | effect |
bool |
EffectLoop
Is effect looped |
int | effectState |
Naanou.Vis.Dot | otherDot |
System.Drawing.Pen |
Pen
Pen |
bool | valid |
Constructor Summary | |
---|---|
Line(System.Drawing.Pen pen) Line drawn to center |
|
Line(System.Drawing.Pen pen, Naanou.Vis.Dot Dot) Line drawn to another Dot |
Property Summary | |
---|---|
Naanou.Vis.Effects |
Effect
Gets or sets effects |
bool |
Valid
Gets or sets if the line is valid -- visible to user |
Method Summary | |
---|---|
void |
Paint(Naanou.Vis.Circle c, Naanou.Vis.Dot n, System.Drawing.Graphics g) Paints the line according to properties and effects |
void |
ResetEffects() Reset applied effects |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private System.Drawing.Pen currentPen
private Naanou.Vis.Effects effect
public bool EffectLoop
Is effect looped
private int effectState
private Naanou.Vis.Dot otherDot
public System.Drawing.Pen Pen
Pen
private bool valid
Constructor Detail |
---|
public Line(System.Drawing.Pen pen)
Line drawn to center
Parameters:
pen
- Penpublic Line(System.Drawing.Pen pen, Naanou.Vis.Dot Dot)
Line drawn to another Dot
Parameters:
pen
- PenDot
- DotProperty Detail |
---|
public Naanou.Vis.Effects Effect
Gets or sets effects
public bool Valid
Gets or sets if the line is valid -- visible to user
Method Detail |
---|
public void Paint(Naanou.Vis.Circle c, Naanou.Vis.Dot n, System.Drawing.Graphics g)
Paints the line according to properties and effects
Parameters:
c
- Circlen
- Dotg
- Graphics surfaceprivate void ResetEffects()
Reset applied effects
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |