The ITextStyleColor graph node interface.
More...
#include <murl_graph_i_text_style_color.h>
The ITextStyleColor graph node interface.
◆ GetNodeInterface() [1/2]
virtual INode* Murl::Graph::ITextStyleColor::GetNodeInterface |
( |
| ) |
|
|
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]
virtual const INode* Murl::Graph::ITextStyleColor::GetNodeInterface |
( |
| ) |
const |
|
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()
virtual Bool Murl::Graph::ITextStyleColor::SetTextColor |
( |
const Color & |
textColor | ) |
|
|
pure virtual |
Set the foreground (text) color used for rendering the text.
- Parameters
-
- Returns
- true if successful.
◆ GetTextColor()
virtual const Color& Murl::Graph::ITextStyleColor::GetTextColor |
( |
| ) |
const |
|
pure virtual |
Get the text color.
- Returns
- The text color.
◆ SetBackgroundColor()
virtual Bool Murl::Graph::ITextStyleColor::SetBackgroundColor |
( |
const Color & |
backgroundColor | ) |
|
|
pure virtual |
Set the background color used for rendering.
- Parameters
-
backgroundColor | The background color. |
- Returns
- true if successful.
◆ GetBackgroundColor()
virtual const Color& Murl::Graph::ITextStyleColor::GetBackgroundColor |
( |
| ) |
const |
|
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