Murl::Graph::ITextStyleColor Interface Referenceabstract

The ITextStyleColor graph node interface. More...

#include "murl_graph_i_text_style_color.h"

Inheritance diagram for Murl::Graph::ITextStyleColor:

Public Member Functions

virtual INodeGetNodeInterface ()=0
 Get the mutable Graph::INode interface. More...
 
virtual const INodeGetNodeInterface () 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 ColorGetTextColor () const =0
 Get the text color. More...
 
virtual Bool SetBackgroundColor (const Color &backgroundColor)=0
 Set the background color used for rendering. More...
 
virtual const ColorGetBackgroundColor () 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 StringGetStartTag () const =0
 Get the start tag. More...
 
virtual Bool SetEndTag (const String &tag)=0
 Set the end tag. More...
 
virtual const StringGetEndTag () const =0
 Get the end tag. More...
 

Detailed Description

The ITextStyleColor graph node interface.

Member Function Documentation

◆ 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
textColorThe text color.
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
backgroundColorThe 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


Copyright © 2011-2022 Spraylight GmbH.