Class UIComponent
Inheritance
System.Object
UIComponent
Implements
System.IDisposable
Assembly: AxEngine.dll
Syntax
public abstract class UIComponent : GraphicsScreenTextureComponent, IDisposable
Constructors
|
Improve this Doc
View Source
UIComponent()
Declaration
|
Improve this Doc
View Source
Declaration
public UIComponent(Vector2i size)
Parameters
Type |
Name |
Description |
OpenToolkit.Mathematics.Vector2i |
size |
|
Fields
|
Improve this Doc
View Source
_NeedRedraw
Declaration
protected bool _NeedRedraw
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Border
Declaration
Field Value
|
Improve this Doc
View Source
Dock
Declaration
Field Value
|
Improve this Doc
View Source
Location
Declaration
Field Value
Type |
Description |
OpenToolkit.Mathematics.Vector2 |
|
|
Improve this Doc
View Source
Margin
Declaration
Field Value
Properties
|
Improve this Doc
View Source
MouseEntered
Declaration
public bool MouseEntered { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Size
Declaration
public Vector2 Size { get; set; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Vector2 |
|
|
Improve this Doc
View Source
UIComponents
Declaration
protected IEnumerable<UIComponent> UIComponents { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<UIComponent> |
|
Methods
|
Improve this Doc
View Source
DrawControl()
Declaration
protected virtual void DrawControl()
|
Improve this Doc
View Source
InvokeDrawControl()
Declaration
protected void InvokeDrawControl()
|
Improve this Doc
View Source
OnMouseEnter(MouseMoveArgs)
Declaration
public virtual void OnMouseEnter(MouseMoveArgs e)
Parameters
|
Improve this Doc
View Source
OnMouseLeave(MouseMoveArgs)
Declaration
public virtual void OnMouseLeave(MouseMoveArgs e)
Parameters
|
Improve this Doc
View Source
OnResized()
Declaration
protected virtual void OnResized()
|
Improve this Doc
View Source
Declaration
public override void OnScreenMouseDown(MouseButtonArgs e)
Parameters
Overrides
|
Improve this Doc
View Source
OnScreenMouseMove(MouseMoveArgs)
Declaration
public override void OnScreenMouseMove(MouseMoveArgs e)
Parameters
Overrides
|
Improve this Doc
View Source
Declaration
public override void OnScreenMouseUp(MouseButtonArgs e)
Parameters
Overrides
|
Improve this Doc
View Source
Redraw()
Declaration
|
Improve this Doc
View Source
SetRectanglePixels(RectangleF)
Declaration
public void SetRectanglePixels(RectangleF value)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.RectangleF |
value |
|
|
Improve this Doc
View Source
SetRectangleUV(RectangleF)
Declaration
public void SetRectangleUV(RectangleF value)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.RectangleF |
value |
|
|
Improve this Doc
View Source
UpdateFrame()
Declaration
public override void UpdateFrame()
Overrides
Implements
System.IDisposable