The ITextStyleColor graph node interface. More...
#include "murl_graph_i_text_style_color.h"
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual Bool | SetTextColor (const Color &textColor)=0 |
Set the foreground (text) color used for rendering the text. More... | |
virtual const Color & | GetTextColor () const =0 |
Get the text color. More... | |
virtual Bool | SetBackgroundColor (const Color &backgroundColor)=0 |
Set the background color used for rendering. More... | |
virtual const Color & | GetBackgroundColor () const =0 |
Get the background color. More... | |
Public Member Functions inherited from Murl::Graph::ITagged | |
virtual Bool | SetStartTag (const String &tag)=0 |
Set the start tag. More... | |
virtual const String & | GetStartTag () const =0 |
Get the start tag. More... | |
virtual Bool | SetEndTag (const String &tag)=0 |
Set the end tag. More... | |
virtual const String & | GetEndTag () const =0 |
Get the end tag. More... | |
Detailed Description
The ITextStyleColor graph node interface.
Member Function Documentation
◆ GetNodeInterface() [1/2]
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
- Returns
- The mutable Graph::INode interface, or null if not available
◆ GetNodeInterface() [2/2]
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
- Returns
- The constant Graph::INode interface, or null if not available
◆ SetTextColor()
Set the foreground (text) color used for rendering the text.
- Parameters
-
textColor The text color.
- Returns
- true if successful.
◆ GetTextColor()
|
pure virtual |
Get the text color.
- Returns
- The text color.
◆ SetBackgroundColor()
|
pure virtual |
Set the background color used for rendering.
- Parameters
-
backgroundColor The background color.
- Returns
- true if successful.
◆ GetBackgroundColor()
|
pure virtual |
Get the background color.
- Returns
- The background color.
The documentation for this interface was generated from the following file:
- murl_graph_i_text_style_color.h