Skip to content

NodalItemNote

NodalItemNote#

(Note)

  • Category: NodalItem
  • Default object name: note
  • Inherits from: ProjectItem

Go to User page.

Description#

Layout node that provides a text box area in the graph.

Public Attributes#

Type Name Visual Hint Description
string text VISUAL_HINT_SCRIPT Define the actual text displayed by the Note.
double[3] background_color VISUAL_HINT_COLOR Set the background color.
double[3] foreground_color VISUAL_HINT_COLOR Set the text color.
long font VISUAL_HINT_DEFAULT Set the text font size.
bool autofit VISUAL_HINT_DEFAULT If enabled, resize automatically the note according to the text size.

CID#

class "NodalItemNote" "ProjectItem" {
    #license {
        flavor "advanced"
    }
    #version 0.9
    icon "../icons/object_icons/nodal_item_note.iconrc"
    category "NodalItem"
    doc "Layout node that provides a text box area in the graph."
    script "text" {
        doc "Define the actual text displayed by the Note."
        filter ""
        value ""
    }
    color "background_color" {
        doc "Set the background color."
        value 1 1 0.647
    }
    color "foreground_color" {
        doc "Set the text color."
        value 0.0 0.0 0.0
    }
    long "font" {
        doc "Set the text font size."
        ui_range yes 1 256
        value 12
    }
    attribute_group "Geometry" {
        bool "autofit" {
            doc "If enabled, resize automatically the note according to the text size."
            value no
        }
        long "width" {
            doc "note width."
            hidden yes
            numeric_range yes 30 2147483647
            value 320
        }
        long "height" {
            doc "note height."
            hidden yes
            numeric_range yes 30 2147483647
            value 200
        }
    }
}