-
Notifications
You must be signed in to change notification settings - Fork 0
Panel
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.Panel |
| Namespace | Electron2D |
| Kind | class |
| Category | UI and Text |
Provides a rectangular UI control used as a simple visual panel.
public class Electron2D.Panel : Electron2D.ControlProfile: Electron2D 0.1.0 2D
Status: Supported / Parity verified
Out of profile: no
Godot reference: Panel
Rectangular UI panel control with basic canvas drawing and inherited layout/input state.
Panel submits one filled rectangle that matches Electron2D.Control.Size.
It is intended for simple runtime interface backgrounds and container
decoration in the 0.1.0 Preview UI subset.
This type is not synchronized. Create and mutate panels on the main scene thread.
This type is available since Electron2D 0.1.0 Preview.
Electron2D.Control
| Member | Kind | Summary |
|---|---|---|
Electron2D.Panel() |
Constructor | Initializes a new instance of the Electron2D.Panel class. |
_Draw() |
Method | Draws the panel rectangle. |
Kind: Constructor
public Electron2D.Panel()Initializes a new instance of the Electron2D.Panel class.
The new panel uses the inherited Electron2D.Control.MouseFilter and
drawing state until changed by user code.
This constructor is not synchronized. Call it from the main scene thread.
This constructor is available since Electron2D 0.1.0 Preview.
Electron2D.Panel
Kind: Method
public System.Void _Draw()()Draws the panel rectangle.
The preview implementation uses a neutral default fill color. Full theme style boxes are outside the current runtime API scope.
This callback is invoked on the main scene thread.
This method is available since Electron2D 0.1.0 Preview.
Electron2D.CanvasItem.DrawRect(Electron2D.Rect2,Electron2D.Color,System.Boolean,System.Single,System.Boolean)
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.