Class Spacer
Helper control used to insert blank space into the layout.
Implements
System.IComparable
Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorToolbox("GUI")]
public sealed class Spacer : ContainerControl, IComparable, IDrawable
Constructors
Spacer()
Spacer(Single, Single)
Initializes a new instance of the Spacer class.
Declaration
public Spacer(float width, float height)
Parameters
System.Single
width
The width. |
System.Single
height
The height. |
Methods
ContainsPoint(ref Float2, Boolean)
Checks if this control contains given point in local Control Space.
Declaration
public override bool ContainsPoint(ref Float2 location, bool precise = false)
Parameters
Float2
location
Point location in Control Space to check |
System.Boolean
precise
True if perform precise intersection test against the control content (eg. with hit mask or transparency threshold). Otherwise, only simple bounds-check will be performed. |
Returns
System.Boolean
True if point is inside control's area, otherwise false. |