Sparksee
6.0.2
|
Stores edge exporting values. More...
Instance Methods | |
(id) | - init |
Creates a new instance. | |
(void) | - setDefaults |
Sets to default values. | |
(NSString *) | - getLabel |
Gets the edge label. More... | |
(void) | - setLabel: |
Sets the edge label. More... | |
(BOOL) | - asDirected |
Gets if the edge should be managed as directed. More... | |
(void) | - setAsDirected: |
Sets if the edge should be managed as directed. More... | |
(int) | - getColorRGB |
Gets the edge color. More... | |
(void) | - setColorRGB: |
Sets the edge color. More... | |
(int) | - getLabelColorRGB |
Gets the edge label color. More... | |
(void) | - setLabelColorRGB: |
Sets the edge label color. More... | |
(int) | - getWidth |
Gets the edge width. More... | |
(void) | - setWidth: |
Sets the edge width. More... | |
(int) | - getFontSize |
Gets the edge label font size. More... | |
(void) | - setFontSize: |
Sets the edge label font size. More... | |
(void) | - getColorRed:green:blue:alpha: |
Get the edge color separated in RGBA. More... | |
(void) | - setColorRed:green:blue:alpha: |
Set the edge color with separated RGBA components. More... | |
(void) | - getLabelColorRed:green:blue:alpha: |
Get the edge label color separated in RGBA. More... | |
(void) | - setLabelColorRed:green:blue:alpha: |
Set the edge label color with separated RGBA components. More... | |
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.
- (BOOL) asDirected |
Gets if the edge should be managed as directed.
TRUE is the default value. If TRUE, use as directed, otherwise use as undirected.
- (void) getColorRed: | (double *) | red | |
green: | (double *) | green | |
blue: | (double *) | blue | |
alpha: | (double *) | alpha | |
Get the edge color separated in RGBA.
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]). |
- (int) getColorRGB |
Gets the edge color.
- (int) getFontSize |
Gets the edge label font size.
- (NSString*) getLabel |
Gets the edge label.
- (void) getLabelColorRed: | (double *) | red | |
green: | (double *) | green | |
blue: | (double *) | blue | |
alpha: | (double *) | alpha | |
Get the edge label color separated in RGBA.
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]). |
- (int) getLabelColorRGB |
Gets the edge label color.
- (int) getWidth |
Gets the edge width.
- (void) setAsDirected: | (BOOL) | directed |
Sets if the edge should be managed as directed.
directed | [in] If TRUE, use as directed, otherwise use as undirected. |
- (void) setColorRed: | (double) | red | |
green: | (double) | green | |
blue: | (double) | blue | |
alpha: | (double) | alpha | |
Set the edge color with separated RGBA components.
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]). |
- (void) setColorRGB: | (int) | color |
Sets the edge color.
color | [in] The edge color. |
- (void) setFontSize: | (int) | size |
Sets the edge label font size.
size | [in] The edge label font size. |
- (void) setLabel: | (NSString *) | label |
Sets the edge label.
label | [in] The edge label. |
- (void) setLabelColorRed: | (double) | red | |
green: | (double) | green | |
blue: | (double) | blue | |
alpha: | (double) | alpha | |
Set the edge label color with separated RGBA components.
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]). |
- (void) setLabelColorRGB: | (int) | color |
Sets the edge label color.
color | [in] The edge label color. |
- (void) setWidth: | (int) | width |
Sets the edge width.
width | [in] The edge width. |