IScrollSnapPointsInfo.GetIrregularSnapPoints 方法

定义

返回指定方向和对齐的不规则对齐点之间的距离集。

public:
 IVectorView<float> ^ GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment);
IVectorView<float> GetIrregularSnapPoints(Orientation const& orientation, SnapPointsAlignment const& alignment);
public IReadOnlyList<float> GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment);
function getIrregularSnapPoints(orientation, alignment)
Public Function GetIrregularSnapPoints (orientation As Orientation, alignment As SnapPointsAlignment) As IReadOnlyList(Of Single)

参数

orientation
Orientation

所需吸附点集的方向/尺寸。

alignment
SnapPointsAlignment

应用吸附点时使用的对齐方式。

返回

吸附点距离的只读集合。 当不存在吸附点时,返回一个空集合。

适用于