SparkseeNet  6.0.2
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.EdgeExport Class Reference

Stores edge exporting values. More...

Public Member Functions

void SetColorRGB (int color)
 Sets the edge color.
 
void SetAsDirected (bool directed)
 Sets if the edge should be managed as directed.
 
int GetFontSize ()
 Gets the edge label font size.
 
void SetDefaults ()
 Sets to default values.
 
int GetColorRGB ()
 Gets the edge color.
 
int GetLabelColorRGB ()
 Gets the edge label color.
 
int GetWidth ()
 Gets the edge width.
 
void SetLabel (System.String label)
 Sets the edge label.
 
void SetLabelColor (System.Drawing.Color c)
 Sets the color of the label.
 
bool AsDirected ()
 Gets if the edge should be managed as directed.
 
void SetColor (System.Drawing.Color c)
 Sets the color of the edge.
 
 EdgeExport ()
 Creates a new instance.
 
System.String GetLabel ()
 Gets the edge label.
 
System.Drawing.Color GetColor ()
 Gets the color of the edge.
 
void SetLabelColorRGB (int color)
 Sets the edge label color.
 
System.Drawing.Color GetLabelColor ()
 Gets the color of the label.
 
void SetWidth (int width)
 Sets the edge width.
 
void SetFontSize (int size)
 Sets the edge label font size.
 

Detailed Description

Stores edge exporting values.

Some properties may be ignored depending on the exportation type.

Default values are:

Label: "" (empty string).

As directed: TRUE.

Color: 13882323 (OxD3D3D3, Light gray).

Label color: 0 (Ox000000, Black).

Width: 5px.

Font size: 10.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

bool com.sparsity.sparksee.gdb.EdgeExport.AsDirected ( )

Gets if the edge should be managed as directed.

TRUE is the default value. If TRUE, use as directed, otherwise use as undirected.

Returns
The edge direction.
int com.sparsity.sparksee.gdb.EdgeExport.GetColorRGB ( )

Gets the edge color.

Returns
The edge color.
int com.sparsity.sparksee.gdb.EdgeExport.GetFontSize ( )

Gets the edge label font size.

Returns
The edge label font size.
System.String com.sparsity.sparksee.gdb.EdgeExport.GetLabel ( )

Gets the edge label.

Returns
The edge label.
int com.sparsity.sparksee.gdb.EdgeExport.GetLabelColorRGB ( )

Gets the edge label color.

Returns
The edge label color.
int com.sparsity.sparksee.gdb.EdgeExport.GetWidth ( )

Gets the edge width.

Returns
The edge width.
void com.sparsity.sparksee.gdb.EdgeExport.SetAsDirected ( bool  directed)

Sets if the edge should be managed as directed.

Parameters
directed[in] If TRUE, use as directed, otherwise use as undirected.
void com.sparsity.sparksee.gdb.EdgeExport.SetColor ( System.Drawing.Color  c)

Sets the color of the edge.

Parameters
cNew value.
void com.sparsity.sparksee.gdb.EdgeExport.SetColorRGB ( int  color)

Sets the edge color.

Parameters
color[in] The edge color.
void com.sparsity.sparksee.gdb.EdgeExport.SetFontSize ( int  size)

Sets the edge label font size.

Parameters
size[in] The edge label font size.
void com.sparsity.sparksee.gdb.EdgeExport.SetLabel ( System.String  label)

Sets the edge label.

Parameters
label[in] The edge label.
void com.sparsity.sparksee.gdb.EdgeExport.SetLabelColor ( System.Drawing.Color  c)

Sets the color of the label.

Parameters
cNew value.
void com.sparsity.sparksee.gdb.EdgeExport.SetLabelColorRGB ( int  color)

Sets the edge label color.

Parameters
color[in] The edge label color.
void com.sparsity.sparksee.gdb.EdgeExport.SetWidth ( int  width)

Sets the edge width.

Parameters
width[in] The edge width.