DexNet 4.7.0
Public Member Functions
com::sparsity::dex::gdb::NodeExport Class Reference

Stores the node exporting values. More...

List of all members.

Public Member Functions

com.sparsity.dex.gdb.NodeShape GetShape ()
 Gets the node shape.
void SetLabelColorRGB (int c)
 Sets the node label color.
int GetFontSize ()
 Gets the node label font size.
void SetWidth (int w)
 Gets the node width.
void SetDefaults ()
 Sets to default values.
int GetColorRGB ()
 Gets the node color.
void SetFontSize (int s)
 Sets the node label font size.
void SetHeight (int h)
 Sets the node height.
bool IsFit ()
 Gets whether the node size is fitted to the label or not.
void SetFit (bool f)
 Sets the node fit property.
int GetLabelColorRGB ()
 Gets the node label color.
int GetWidth ()
 Gets the node width.
void SetLabelColor (System.Drawing.Color c)
 Sets the color of the label.
void SetLabel (System.String l)
 Sets the node label.
void SetColorRGB (int c)
 Sets the node color.
void SetColor (System.Drawing.Color c)
 Sets the color of the node.
System.String GetLabel ()
 Gets the node label.
void SetShape (com.sparsity.dex.gdb.NodeShape s)
 Sets the node shape.
int GetHeight ()
 Gets the node height.
 NodeExport ()
 Creates a new instance.
System.Drawing.Color GetColor ()
 Gets the color of the node.
System.Drawing.Color GetLabelColor ()
 Gets the color of the label.

Detailed Description

Stores the node exporting values.

When 'fit' is set to TRUE, then 'height' and 'width' will be ignored.

Some properties may be ignored depending on the exportation type.

Default values are:

Label: "" (empty string).

Shape: Box.

Color: 10863606 (0xa5c3f6).

Label color: 0 (Ox000000, Black).

Height: 25px.

Width: 25px.

Fit: TRUE.

Font size: 10.

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

Member Function Documentation

int com::sparsity::dex::gdb::NodeExport::GetColorRGB ( )

Gets the node color.

Returns:
The node color.
int com::sparsity::dex::gdb::NodeExport::GetFontSize ( )

Gets the node label font size.

Returns:
The node label font size.
int com::sparsity::dex::gdb::NodeExport::GetHeight ( )

Gets the node height.

Returns:
The node height in pixels.
System.String com::sparsity::dex::gdb::NodeExport::GetLabel ( )

Gets the node label.

Returns:
The node label.
int com::sparsity::dex::gdb::NodeExport::GetLabelColorRGB ( )

Gets the node label color.

Returns:
The node label color.
com.sparsity.dex.gdb.NodeShape com::sparsity::dex::gdb::NodeExport::GetShape ( )

Gets the node shape.

Returns:
The node shape.
int com::sparsity::dex::gdb::NodeExport::GetWidth ( )

Gets the node width.

Returns:
The node width in pixels.
bool com::sparsity::dex::gdb::NodeExport::IsFit ( )

Gets whether the node size is fitted to the label or not.

Returns:
If TRUE, then the node size is fitted to the label, otherwise the size is fixed with the values of 'height' and 'width'.
void com::sparsity::dex::gdb::NodeExport::SetColor ( System.Drawing.Color  c)

Sets the color of the node.

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

Sets the node color.

Parameters:
cThe node color.
void com::sparsity::dex::gdb::NodeExport::SetFit ( bool  f)

Sets the node fit property.

Parameters:
f[in] If TRUE, then the node size is fitted to the label ('height' and 'width' will be ignored), otherwise the size is fixed with the values of 'height' and 'width'.
void com::sparsity::dex::gdb::NodeExport::SetFontSize ( int  s)

Sets the node label font size.

Parameters:
s[in] The node label font size.
void com::sparsity::dex::gdb::NodeExport::SetHeight ( int  h)

Sets the node height.

Parameters:
h[in] The node height in pixels.
void com::sparsity::dex::gdb::NodeExport::SetLabel ( System.String  l)

Sets the node label.

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

Sets the color of the label.

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

Sets the node label color.

Parameters:
c[in] The node label color.
void com::sparsity::dex::gdb::NodeExport::SetShape ( com.sparsity.dex.gdb.NodeShape  s)

Sets the node shape.

Parameters:
s[in] The node shape.
void com::sparsity::dex::gdb::NodeExport::SetWidth ( int  w)

Gets the node width.

Parameters:
wThe node width in pixels.