DexNet  4.8.2
Public Member Functions | List of all members
com.sparsity.dex.gdb.EdgeExport Class Reference

Stores edge exporting values. More...

Public Member Functions

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

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.dex.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.dex.gdb.EdgeExport.GetColorRGB ( )

Gets the edge color.

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

Gets the edge label font size.

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

Gets the edge label.

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

Gets the edge label color.

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

Gets the edge width.

Returns
The edge width.
void com.sparsity.dex.gdb.EdgeExport.SetAsDirected ( bool  b)

Sets if the edge should be managed as directed.

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

Sets the color of the edge.

Parameters
cNew value.
void com.sparsity.dex.gdb.EdgeExport.SetColorRGB ( int  c)

Sets the edge color.

Parameters
c[in] The edge color.
void com.sparsity.dex.gdb.EdgeExport.SetFontSize ( int  s)

Sets the edge label font size.

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

Sets the edge label.

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

Sets the color of the label.

Parameters
cNew value.
void com.sparsity.dex.gdb.EdgeExport.SetLabelColorRGB ( int  c)

Sets the edge label color.

Parameters
c[in] The edge label color.
void com.sparsity.dex.gdb.EdgeExport.SetWidth ( int  w)

Sets the edge width.

Parameters
w[in] The edge width.