Thickness.indexOf Method

Returns the first index at which a given thickness value can be found in the set of thickness values as defined clockwise from the top.
 

Parameters

thickness

Type: Number
The value to locate in the thickness values.
fromIndex

Type: Number (Integer)
The zero-based index at which to start the search.
Optional: True

Return Value


Type: Number (Integer)
The first index of thickness in the values, or -1 if not found.