extern internal static IntPtr _StyleSpans(Path path, IntPtr styles, IntPtr lengths, LengthKind lengthKind, double lengthOffset);
public static StyleSpan [] StyleSpans(Path path, StrokeStyle [] styles, NSNumber [] lengths, LengthKind lengthKind, double lengthOffset) { var stylesArray = NSArray.FromNSObjects(styles); var lengthsArray = NSArray.FromNSObjects(lengths); var result = _StyleSpans(path, stylesArray.Handle, lengthsArray.Handle, lengthKind, lengthOffset); var nsObjects = NSArray.ArrayFromHandle <NSObject> (result); var resultArray = new StyleSpan [nsObjects.Length]; for (int i = 0; i < nsObjects.Length; i++) { resultArray [i] = (StyleSpan)nsObjects [i]; } return(resultArray); }
extern internal static IntPtr _StyleSpans(Path path, IntPtr styles, IntPtr lengths, LengthKind lengthKind);