FSO.Client.UI.Framework.UIElement.GetBounds C# (CSharp) Method

GetBounds() public method

Gets the bounding box for the component
public GetBounds ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle
        public virtual Rectangle GetBounds()
        {
            return Rectangle.Empty;
        }

Usage Example

Esempio n. 1
0
        public UIDragHandler(UIElement mouseTarget, UIElement dragControl)
        {
            UpdateHook = new UpdateHookDelegate(Update);

            MouseTarget = mouseTarget;
            DragControl = dragControl;
            MouseEvent = mouseTarget.ListenForMouse(mouseTarget.GetBounds(), new UIMouseEvent(DragMouseEvents));
        }
All Usage Examples Of FSO.Client.UI.Framework.UIElement::GetBounds