Class GraphFrame

Namespace
Forma
Assembly
Forma.dll

Graph node used as a visual frame to organize other graph elements.

public sealed class GraphFrame : GraphNode, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
Inheritance
GraphFrame
Implements
Inherited Members

Constructors

GraphFrame()

public GraphFrame()

Properties

AutoshrinkEnabled

public bool AutoshrinkEnabled { get; set; }

Property Value

bool

AutoshrinkMargin

Uniform graph-coordinate padding around attached elements, equivalent to Godot's autoshrink_margin.

public int AutoshrinkMargin { get; set; }

Property Value

int

DragMargin

public int DragMargin { get; set; }

Property Value

int

TintColor

public Color TintColor { get; set; }

Property Value

Color

TintColorEnabled

public bool TintColorEnabled { get; set; }

Property Value

bool

Methods

ArrangeChildren()

protected override void ArrangeChildren()

ContainsPoint(Point)

public override bool ContainsPoint(Point point)

Parameters

point Point

Returns

bool

GetAutoshrinkMargin()

public int GetAutoshrinkMargin()

Returns

int

GetDesiredSize()

Returns the desired-size variant of the GraphFrame layout requirement.

public override Vector2 GetDesiredSize()

Returns

Vector2

GetDragMargin()

public int GetDragMargin()

Returns

int

GetMinimumSize()

Returns the titlebar, body-child, and frame style minimum required by Godot's GraphFrame layout.

public override Vector2 GetMinimumSize()

Returns

Vector2

GetTintColor()

public Color GetTintColor()

Returns

Color

GetTitle()

public string GetTitle()

Returns

string

GetTitlebarHBox()

public HBoxContainer GetTitlebarHBox()

Returns

HBoxContainer

GetTitlebarSize()

public Vector2 GetTitlebarSize()

Returns

Vector2

IsAutoshrinkEnabled()

public bool IsAutoshrinkEnabled()

Returns

bool

IsTintColorEnabled()

public bool IsTintColorEnabled()

Returns

bool

SetAutoshrinkEnabled(bool)

public void SetAutoshrinkEnabled(bool enable)

Parameters

enable bool

SetAutoshrinkMargin(int)

public void SetAutoshrinkMargin(int margin)

Parameters

margin int

SetDragMargin(int)

public void SetDragMargin(int margin)

Parameters

margin int

SetTintColor(Color)

public void SetTintColor(Color color)

Parameters

color Color

SetTintColorEnabled(bool)

public void SetTintColorEnabled(bool enable)

Parameters

enable bool

SetTitle(string)

public void SetTitle(string title)

Parameters

title string

Events

AutoshrinkChanged

public event Action<GraphFrame, Vector2> AutoshrinkChanged

Event Type

Action<GraphFrame, Vector2>