HtmlInput
Namespace:FairyGUI.Utils
Source:Assets/Scripts/Utils/Html/HtmlInput.cs (line 8)
public class HtmlInput : IHtmlObject
Interfaces:IHtmlObject
Constructors
HtmlInput()
public HtmlInput();
Source:Utils/Html/HtmlInput.cs (line 20)
Fields
defaultBackgroundColor
public static Color defaultBackgroundColor;
Source:Utils/Html/HtmlInput.cs (line 18)
defaultBorderColor
public static Color defaultBorderColor;
Source:Utils/Html/HtmlInput.cs (line 17)
defaultBorderSize
public static int defaultBorderSize;
Source:Utils/Html/HtmlInput.cs (line 16)
Methods
Add()
public void Add();
Source:Utils/Html/HtmlInput.cs (line 91)
Create(RichTextField, HtmlElement)
public void Create(RichTextField owner, HtmlElement element);
| Parameter | Type | Description |
|---|---|---|
owner | RichTextField | |
element | HtmlElement |
Source:Utils/Html/HtmlInput.cs (line 47)
Dispose()
public void Dispose();
Source:Utils/Html/HtmlInput.cs (line 112)
Release()
public void Release();
Source:Utils/Html/HtmlInput.cs (line 103)
Remove()
public void Remove();
Source:Utils/Html/HtmlInput.cs (line 97)
SetPosition(float, float)
public void SetPosition(float x, float y);
| Parameter | Type | Description |
|---|---|---|
x | float | |
y | float |
Source:Utils/Html/HtmlInput.cs (line 85)
Properties
displayObject
public DisplayObject displayObject { get; }
Source:Utils/Html/HtmlInput.cs (line 27)
element
public HtmlElement element { get; }
Source:Utils/Html/HtmlInput.cs (line 32)
height
public float height { get; }
Source:Utils/Html/HtmlInput.cs (line 42)
textInput
public GTextInput textInput { get; private set; }
Source:Utils/Html/HtmlInput.cs (line 10)
width
public float width { get; }
Source:Utils/Html/HtmlInput.cs (line 37)