HtmlLink
Namespace:FairyGUI.Utils
Source:Assets/Scripts/Utils/Html/HtmlLink.cs (line 7)
public class HtmlLink : IHtmlObject
Interfaces:IHtmlObject
Constructors
HtmlLink()
public HtmlLink();
Source:Utils/Html/HtmlLink.cs (line 17)
Methods
Add()
public void Add();
Source:Utils/Html/HtmlLink.cs (line 87)
Create(RichTextField, HtmlElement)
public void Create(RichTextField owner, HtmlElement element);
| Parameter | Type | Description |
|---|---|---|
owner | RichTextField | |
element | HtmlElement |
Source:Utils/Html/HtmlLink.cs (line 59)
Dispose()
public void Dispose();
Source:Utils/Html/HtmlLink.cs (line 107)
Release()
public void Release();
Source:Utils/Html/HtmlLink.cs (line 99)
Remove()
public void Remove();
Source:Utils/Html/HtmlLink.cs (line 93)
SetArea(int, float, int, float)
public void SetArea(int startLine, float startCharX, int endLine, float endCharX);
| Parameter | Type | Description |
|---|---|---|
startLine | int | |
startCharX | float | |
endLine | int | |
endCharX | float |
Source:Utils/Html/HtmlLink.cs (line 69)
SetPosition(float, float)
public void SetPosition(float x, float y);
| Parameter | Type | Description |
|---|---|---|
x | float | |
y | float |
Source:Utils/Html/HtmlLink.cs (line 82)
Properties
displayObject
public DisplayObject displayObject { get; }
Source:Utils/Html/HtmlLink.cs (line 39)
element
public HtmlElement element { get; }
Source:Utils/Html/HtmlLink.cs (line 44)
height
public float height { get; }
Source:Utils/Html/HtmlLink.cs (line 54)
width
public float width { get; }
Source:Utils/Html/HtmlLink.cs (line 49)