Class WindowDockingLayout
Inheritance
System.Object
WindowDockingLayout
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Syntax
public class WindowDockingLayout
Properties
dockingLeft
Declaration
public bool dockingLeft { get; }
Property Value
Type |
Description |
System.Boolean |
|
dockingTop
Declaration
public bool dockingTop { get; }
Property Value
Type |
Description |
System.Boolean |
|
horizontalOffset
Declaration
public float horizontalOffset { get; }
Property Value
Type |
Description |
System.Single |
|
size
Declaration
public Vector2 size { get; }
Property Value
verticalOffset
Declaration
public float verticalOffset { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
ApplyPosition(VisualElement)
Declaration
public void ApplyPosition(VisualElement target)
Parameters
Type |
Name |
Description |
VisualElement |
target |
|
ApplySize(VisualElement)
Declaration
public void ApplySize(VisualElement target)
Parameters
Type |
Name |
Description |
VisualElement |
target |
|
CalculateDockingCornerAndOffset(Rect, Rect)
Declaration
public void CalculateDockingCornerAndOffset(Rect layout, Rect parentLayout)
Parameters
Type |
Name |
Description |
Rect |
layout |
|
Rect |
parentLayout |
|
ClampToParentWindow()
Declaration
public void ClampToParentWindow()
GetLayout(Rect)
Declaration
public Rect GetLayout(Rect parentLayout)
Parameters
Type |
Name |
Description |
Rect |
parentLayout |
|
Returns