Sparksee
6.0.2
|
Stores the node exporting values. More...
Instance Methods | |
(id) | - init |
Creates a new instance. | |
(void) | - setDefaults |
Sets to default values. | |
(NSString *) | - getLabel |
Gets the node label. More... | |
(void) | - setLabel: |
Sets the node label. More... | |
(enum STSNodeShape) | - getShape |
Gets the node shape. More... | |
(void) | - setShape: |
Sets the node shape. More... | |
(int) | - getColorRGB |
Gets the node color. More... | |
(void) | - setColorRGB: |
Sets the node color. More... | |
(int) | - getLabelColorRGB |
Gets the node label color. More... | |
(void) | - setLabelColorRGB: |
Sets the node label color. More... | |
(int) | - getHeight |
Gets the node height. More... | |
(void) | - setHeight: |
Sets the node height. More... | |
(int) | - getWidth |
Gets the node width. More... | |
(void) | - setWidth: |
Gets the node width. More... | |
(BOOL) | - isFit |
Gets whether the node size is fitted to the label or not. More... | |
(void) | - setFit: |
Sets the node fit property. More... | |
(int) | - getFontSize |
Gets the node label font size. More... | |
(void) | - setFontSize: |
Sets the node label font size. More... | |
(void) | - getColorRed:green:blue:alpha: |
Get the node color separated in RGBA. More... | |
(void) | - setColorRed:green:blue:alpha: |
Set the node color with separated RGBA components. More... | |
(void) | - getLabelColorRed:green:blue:alpha: |
Get the node label color separated in RGBA. More... | |
(void) | - setLabelColorRed:green:blue:alpha: |
Set the node label color with separated RGBA components. More... | |
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.
- (void) getColorRed: | (double *) | red | |
green: | (double *) | green | |
blue: | (double *) | blue | |
alpha: | (double *) | alpha | |
Get the node 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 node color.
- (int) getFontSize |
Gets the node label font size.
- (int) getHeight |
Gets the node height.
- (NSString*) getLabel |
Gets the node label.
- (void) getLabelColorRed: | (double *) | red | |
green: | (double *) | green | |
blue: | (double *) | blue | |
alpha: | (double *) | alpha | |
Get the node 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 node label color.
- (enum STSNodeShape) getShape |
Gets the node shape.
- (int) getWidth |
Gets the node width.
- (BOOL) isFit |
Gets whether the node size is fitted to the label or not.
- (void) setColorRed: | (double) | red | |
green: | (double) | green | |
blue: | (double) | blue | |
alpha: | (double) | alpha | |
Set the node 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 node color.
color | The node color. |
- (void) setFit: | (BOOL) | fit |
Sets the node fit property.
fit | [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) setFontSize: | (int) | size |
Sets the node label font size.
size | [in] The node label font size. |
- (void) setHeight: | (int) | height |
Sets the node height.
height | [in] The node height in pixels. |
- (void) setLabel: | (NSString *) | label |
Sets the node label.
label | [in] The node label. |
- (void) setLabelColorRed: | (double) | red | |
green: | (double) | green | |
blue: | (double) | blue | |
alpha: | (double) | alpha | |
Set the node 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 node label color.
color | [in] The node label color. |
- (void) setShape: | (enum STSNodeShape) | shape |
Sets the node shape.
shape | [in] The node shape. |
- (void) setWidth: | (int) | width |
Gets the node width.
width | The node width in pixels. |