Sparksee 6.1.0
STSGraphExport Class Reference

Stores the graph exporting values. More...

#include <Sparksee.h>

Inheritance diagram for STSGraphExport:
Inheritance graph
Collaboration diagram for STSGraphExport:
Collaboration graph

Instance Methods

(id) - init
 Creates a new GraphExport instance.
(void) - setDefaults
 Sets to default values.
(NSString *) - getLabel
 Gets the graph label.
(void) - setLabel:
 Sets the graph label.
(int) - getColorRGB
 Gets the background color.
(void) - setColorRGB:
 Sets the background color.
(void) - getColorRed:green:blue:alpha:
 Get the node color separated in RGBA.
(void) - setColorRed:green:blue:alpha:
 Set the node color with separated RGBA components.

Detailed Description

Stores the graph exporting values.

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

Method Documentation

◆ getColorRed:green:blue:alpha:

- (void) getColorRed: (double *) red
green: (double *) green
blue: (double *) blue
alpha: (double *) alpha 

Get the node color separated in RGBA.

Parameters
red[out] The red color component ([0..1]).
green[out] The green color component ([0..1]).
blue[out] The blue color component ([0..1]).
alpha[out] The alpha component ([0..1]).

◆ getColorRGB

- (int) getColorRGB

Gets the background color.

Returns
The background color.

References getColorRGB.

Referenced by getColorRGB.

◆ getLabel

- (NSString *) getLabel

Gets the graph label.

Returns
The graph label.

References getLabel.

Referenced by getLabel.

◆ setColorRed:green:blue:alpha:

- (void) setColorRed: (double) red
green: (double) green
blue: (double) blue
alpha: (double) alpha 

Set the node color with separated RGBA components.

Parameters
red[in] The red color component ([0..1]).
green[in] The green color component ([0..1]).
blue[in] The blue color component ([0..1]).
alpha[in] The alpha component ([0..1]).

◆ setColorRGB:

- (void) setColorRGB: (int) color

Sets the background color.

Parameters
colorThe background color.

◆ setLabel:

- (void) setLabel: (NSString *) label

Sets the graph label.

Parameters
label[in] The graph label.

The documentation for this class was generated from the following file:
  • Sparksee.h