GetIrregularSnapPoints Method
Returns the set of distances between irregular snap points for a specified orientation and alignment.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public IReadOnlyList<double> GetIrregularSnapPoints(
Orientation orientation,
SnapPointsAlignment snapPointsAlignment
)
Public Function GetIrregularSnapPoints (
orientation As Orientation,
snapPointsAlignment As SnapPointsAlignment
) As IReadOnlyList(Of Double)
abstract GetIrregularSnapPoints :
orientation : Orientation *
snapPointsAlignment : SnapPointsAlignment -> IReadOnlyList<float>
override GetIrregularSnapPoints :
orientation : Orientation *
snapPointsAlignment : SnapPointsAlignment -> IReadOnlyList<float>
Parameters
- Orientation
- The orientation for the desired snap point set.
- SnapPointsAlignment
- The alignment to use when applying the snap points.
Return Value
IReadOnlyList(Double)
The read-only collection of snap point distances. Returns an empty collection when no snap points are present.