SparkseeNet 6.1.0
com.sparsity.sparksee.gdb.EdgeExport Class Reference

Stores edge exporting values. More...

Public Member Functions

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

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

◆ AsDirected()

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.

◆ CopyDefaults()

void com.sparsity.sparksee.gdb.EdgeExport.CopyDefaults ( com.sparsity.sparksee.gdb.EdgeExport source)

Sets the default values using a refrerence EdgeExport.

Parameters
sourcenull

◆ GetColorRGB()

int com.sparsity.sparksee.gdb.EdgeExport.GetColorRGB ( )

Gets the edge color.

Returns
The edge color.

◆ GetFontSize()

int com.sparsity.sparksee.gdb.EdgeExport.GetFontSize ( )

Gets the edge label font size.

Returns
The edge label font size.

◆ GetLabel()

System.String com.sparsity.sparksee.gdb.EdgeExport.GetLabel ( )

Gets the edge label.

Returns
The edge label.

◆ GetLabelColorRGB()

int com.sparsity.sparksee.gdb.EdgeExport.GetLabelColorRGB ( )

Gets the edge label color.

Returns
The edge label color.

◆ GetTitle()

System.String com.sparsity.sparksee.gdb.EdgeExport.GetTitle ( )

Gets the edge title.

Returns
The edge title.

◆ GetWidth()

int com.sparsity.sparksee.gdb.EdgeExport.GetWidth ( )

Gets the edge width.

Returns
The edge width.

◆ SetAsDirected()

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.

◆ SetColor()

void com.sparsity.sparksee.gdb.EdgeExport.SetColor ( System.Drawing.Color c)

Sets the color of the edge.

Parameters
cNew value.

◆ SetColorRGB()

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

Sets the edge color.

Parameters
color[in] The edge color.

◆ SetFontSize()

void com.sparsity.sparksee.gdb.EdgeExport.SetFontSize ( int size)

Sets the edge label font size.

Parameters
size[in] The edge label font size.

◆ SetLabel()

void com.sparsity.sparksee.gdb.EdgeExport.SetLabel ( System.String label)

Sets the edge label.

Parameters
label[in] The edge label.

◆ SetLabelColor()

void com.sparsity.sparksee.gdb.EdgeExport.SetLabelColor ( System.Drawing.Color c)

Sets the color of the label.

Parameters
cNew value.

◆ SetLabelColorRGB()

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

Sets the edge label color.

Parameters
color[in] The edge label color.

◆ SetTitle()

void com.sparsity.sparksee.gdb.EdgeExport.SetTitle ( System.String title)

Sets the edge title.

Parameters
title[in] The edge title.

◆ SetWidth()

void com.sparsity.sparksee.gdb.EdgeExport.SetWidth ( int width)

Sets the edge width.

Parameters
width[in] The edge width.