SenseHatLedMatrix.IndexToPosition(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Translates position in the buffer to X, Y coordinates
public static (int x, int y) IndexToPosition (int index);
public static (int X, int Y) IndexToPosition (int index);
static member IndexToPosition : int -> ValueTuple<int, int>
Public Shared Function IndexToPosition (index As Integer) As ValueTuple(Of Integer, Integer)
Parameters
- index
- Int32
Index
Returns
Tuple of X and Y coordinates
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for