Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.ITextStyleColor

The ITextStyleColor graph node interface.


Table members

Inherited


Murl.Graph.ITagged

Methods


GetNodeInterface()

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.

Murl.Graph.INode GetNodeInterface()

Returns
Murl.Graph.INode The constant Graph::INode interface, or null if not available

SetTextColor(textColor)

Set the foreground (text) color used for rendering the text.

Boolean SetTextColor(Murl.Color textColor)

Parameters
textColorThe text color.
Returns
Boolean true if successful.

GetTextColor()

Get the text color.

Murl.Color GetTextColor()

Returns
Murl.Color The text color.

SetBackgroundColor(backgroundColor)

Set the background color used for rendering.

Boolean SetBackgroundColor(Murl.Color backgroundColor)

Parameters
backgroundColorThe background color.
Returns
Boolean true if successful.

GetBackgroundColor()

Get the background color.

Murl.Color GetBackgroundColor()

Returns
Murl.Color The background color.