engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FAnchors结构体 参考

Describes how a widget is anchored. 更多...

#include <Anchors.h>

Public 成员函数

 FAnchors ()
 Default constructor. 更多...
 
 FAnchors (float Horizontal, float Vertical)
 Construct a Anchors where Horizontal describes Left and Right spacing while Vertical describes Top and Bottom spacing
 
 FAnchors (float MinX, float MinY, float MaxX, float MaxY)
 Construct Anchors where the spacing on each side is individually specified.
 
 FAnchors (float UnifromAnchors)
 Construct a Anchors with uniform space on all sides
 
bool IsStretchedHorizontal () const
 Returns true if the anchors represent a stretch along the horizontal axis
 
bool IsStretchedVertical () const
 Returns true if the anchors represent a stretch along the vertical axis
 
bool operator!= (const FAnchors &Other) const
 Compares this set of FAnchors with another for inequality. 更多...
 
bool operator== (const FAnchors &Other) const
 Compares this set of FAnchors with another for equality. 更多...
 

Public 属性

FVector2D Maximum
 Holds the maximum anchors, right + bottom.
 
FVector2D Minimum
 Holds the minimum anchors, left + top.
 

详细描述

Describes how a widget is anchored.

构造及析构函数说明

◆ FAnchors()

FAnchors::FAnchors ( )
inline

Default constructor.

The default margin size is zero on all four sides..

成员函数说明

◆ operator!=()

bool FAnchors::operator!= ( const FAnchors &  Other) const
inline

Compares this set of FAnchors with another for inequality.

参数
OtherThe other FAnchors.
返回
true if the two FAnchors are not equal, false otherwise.

◆ operator==()

bool FAnchors::operator== ( const FAnchors &  Other) const
inline

Compares this set of FAnchors with another for equality.

参数
OtherThe other FAnchors.
返回
true if the two FAnchors are equal, false otherwise.

该结构体的文档由以下文件生成: