共用方式為


NSLayoutManager.GetLineFragmentInsertionPoints 方法

定義

多載

GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, IntPtr, IntPtr)
GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, nfloat[], nint[])

填滿並填入線條片段插入點的位置和索引。

GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, IntPtr, IntPtr)

[Foundation.Export("getLineFragmentInsertionPointsForCharacterAtIndex:alternatePositions:inDisplayOrder:positions:characterIndexes:")]
protected virtual nuint GetLineFragmentInsertionPoints (nuint characterIndex, bool alternatePositions, bool inDisplayOrder, IntPtr positions, IntPtr characterIndexes);
abstract member GetLineFragmentInsertionPoints : nuint * bool * bool * nativeint * nativeint -> nuint
override this.GetLineFragmentInsertionPoints : nuint * bool * bool * nativeint * nativeint -> nuint

參數

characterIndex
System.System.UIntPtr System.unativeint
alternatePositions
Boolean
inDisplayOrder
Boolean
positions
IntPtr

nativeint

characterIndexes
IntPtr

nativeint

傳回

System.System.UIntPtr System.unativeint
屬性

適用於

GetLineFragmentInsertionPoints(nuint, Boolean, Boolean, nfloat[], nint[])

填滿並填入線條片段插入點的位置和索引。

public nuint GetLineFragmentInsertionPoints (nuint charIndex, bool alternatePosition, bool inDisplayOrder, nfloat[] positions, nint[] charIndexes);
member this.GetLineFragmentInsertionPoints : nuint * bool * bool * nfloat[] * nint[] -> nuint

參數

charIndex
System.System.UIntPtr System.unativeint
alternatePosition
Boolean
inDisplayOrder
Boolean
positions
nfloat[]
charIndexes

System.System.IntPtr[]

System.nativeint[]

傳回

System.System.UIntPtr System.unativeint

和 中傳回的插入點數目。

適用於