Skip to main content

HtmlImage

Namespace:FairyGUI.Utils
Source:Assets/Scripts/Utils/Html/HtmlImage.cs (line 10)

public class HtmlImage : IHtmlObject

Interfaces:IHtmlObject

Constructors​

HtmlImage()​

public HtmlImage();

Source:Utils/Html/HtmlImage.cs (line 18)

Methods​

Add()​

public void Add();

Source:Utils/Html/HtmlImage.cs (line 94)

Create(RichTextField, HtmlElement)​

public void Create(RichTextField owner, HtmlElement element);
ParameterTypeDescription
ownerRichTextField
elementHtmlElement

Source:Utils/Html/HtmlImage.cs (line 46)

Dispose()​

public void Dispose();

Source:Utils/Html/HtmlImage.cs (line 119)

Release()​

public void Release();

Source:Utils/Html/HtmlImage.cs (line 105)

Remove()​

public void Remove();

Source:Utils/Html/HtmlImage.cs (line 99)

SetPosition(float, float)​

public void SetPosition(float x, float y);
ParameterTypeDescription
xfloat
yfloat

Source:Utils/Html/HtmlImage.cs (line 89)

Properties​

displayObject​

public DisplayObject displayObject { get; }

Source:Utils/Html/HtmlImage.cs (line 26)

element​

public HtmlElement element { get; }

Source:Utils/Html/HtmlImage.cs (line 31)

height​

public float height { get; }

Source:Utils/Html/HtmlImage.cs (line 41)

loader​

public GLoader loader { get; private set; }

Source:Utils/Html/HtmlImage.cs (line 12)

width​

public float width { get; }

Source:Utils/Html/HtmlImage.cs (line 36)