|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Dot which appears on a circle
Field Summary | |
---|---|
double |
Angle
Angle |
System.Drawing.RectangleF | area |
System.Drawing.Brush |
brush
Brush |
System.Drawing.Brush | currentBrush |
System.Drawing.Pen | currentPen |
System.Drawing.SolidBrush | currentTextBrush |
int | DEFAULT_SIZE |
Naanou.Vis.Effects | effect |
int | effectFadeOutAlphaChange |
bool |
EffectLoop
Is effect looped |
int | effectState |
int | effectTextFadeOutAlphaChange |
bool | hovered |
string |
Label
User label |
int | lineCount |
Naanou.Vis.Line[] | lines |
System.Drawing.Pen |
pen
Pen |
int | size |
object |
Tag
Tag |
System.Drawing.Color | textColour |
int | textFadeStage |
Constructor Summary | |
---|---|
Dot(double degrees) Constructor |
|
Dot(string label, double degrees, System.Drawing.Pen pen) Constructor |
Property Summary | |
---|---|
System.Drawing.RectangleF |
Area
Area |
System.Drawing.Color |
Colour
Gets or sets the pen colour. Setting pen colour also changes text colour |
Naanou.Vis.Effects |
Effect
Gets or sets effects |
bool |
Hovered
Gets or sets hovered property |
int |
Size
Gets or sets the size (width) |
System.Drawing.Color |
TextColour
Gets or sets text colour. Setting pen colour will change text colour to match |
Method Summary | |
---|---|
void |
Add(Naanou.Vis.Line line) Adds a line |
System.Drawing.Pen |
GetEffectPen(System.Drawing.Pen currentPen, Naanou.Vis.Effects effect, int effectState) Gets a effect pen |
void |
Paint(Naanou.Vis.Circle c, Naanou.Vis.Viewer viewer, System.Drawing.Graphics g) Paints Dot |
void | PaintDot(Naanou.Vis.Circle c, System.Drawing.Graphics g) |
void |
PaintLines(Naanou.Vis.Circle c, System.Drawing.Graphics g) Paints lines |
void |
PaintText(Naanou.Vis.Viewer v, System.Drawing.Graphics g) Paints text if required |
void |
ResetEffects() Reset applied effects |
void |
SetColourSize(System.Drawing.Color colour, int width) Sets the colour and size |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
public double Angle
Angle
private System.Drawing.RectangleF area
private System.Drawing.Brush brush
Brush
private System.Drawing.Brush currentBrush
private System.Drawing.Pen currentPen
private System.Drawing.SolidBrush currentTextBrush
private int DEFAULT_SIZE
private Naanou.Vis.Effects effect
private int effectFadeOutAlphaChange
public bool EffectLoop
Is effect looped
private int effectState
private int effectTextFadeOutAlphaChange
private bool hovered
public string Label
User label
private int lineCount
private Naanou.Vis.Line[] lines
public System.Drawing.Pen pen
Pen
private int size
public object Tag
Tag
private System.Drawing.Color textColour
private int textFadeStage
Constructor Detail |
---|
public Dot(double degrees)
Constructor
Parameters:
degrees
- Degreespublic Dot(string label, double degrees, System.Drawing.Pen pen)
Constructor
Parameters:
label
- Labeldegrees
- Degreespen
- PenProperty Detail |
---|
public System.Drawing.RectangleF Area
Area
public System.Drawing.Color Colour
Gets or sets the pen colour. Setting pen colour also changes text colour
public Naanou.Vis.Effects Effect
Gets or sets effects
public bool Hovered
Gets or sets hovered property
public int Size
Gets or sets the size (width)
public System.Drawing.Color TextColour
Gets or sets text colour. Setting pen colour will change text colour to match
Method Detail |
---|
public void Add(Naanou.Vis.Line line)
Adds a line
Parameters:
line
- Linepublic System.Drawing.Pen GetEffectPen(System.Drawing.Pen currentPen, Naanou.Vis.Effects effect, int effectState)
Gets a effect pen
Parameters:
currentPen
- Peneffect
- EffecteffectState
- STatepublic void Paint(Naanou.Vis.Circle c, Naanou.Vis.Viewer viewer, System.Drawing.Graphics g)
Paints Dot
Parameters:
c
- Circleviewer
- Viewerg
- Graphicsprivate void PaintDot(Naanou.Vis.Circle c, System.Drawing.Graphics g)
private void PaintLines(Naanou.Vis.Circle c, System.Drawing.Graphics g)
Paints lines
Parameters:
c
- g
- private void PaintText(Naanou.Vis.Viewer v, System.Drawing.Graphics g)
Paints text if required
Parameters:
v
- viewerg
- Graphics surfaceprivate void ResetEffects()
Reset applied effects
public void SetColourSize(System.Drawing.Color colour, int width)
Sets the colour and size
Parameters:
colour
- Colourwidth
- Size
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |