Condividi tramite


NSLayoutManager.GetLineFragmentRect Metodo

Definizione

Overload

GetLineFragmentRect(nuint, NSRange, Boolean)

Ottiene il frammento CGRect di riga contenente il glifo in , con l'opzione di non attivare il layout.

GetLineFragmentRect(nuint, Boolean)
GetLineFragmentRect(nuint, IntPtr)
GetLineFragmentRect(nuint)
GetLineFragmentRect(nuint, NSRange)

GetLineFragmentRect(nuint, NSRange, Boolean)

Ottiene il frammento CGRect di riga contenente il glifo in , con l'opzione di non attivare il layout.

[Foundation.Export("lineFragmentRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect GetLineFragmentRect (nuint glyphIndex, out Foundation.NSRange effectiveGlyphRange, bool withoutAdditionalLayout);
abstract member GetLineFragmentRect : nuint *  * bool -> CoreGraphics.CGRect
override this.GetLineFragmentRect : nuint *  * bool -> CoreGraphics.CGRect

Parametri

glyphIndex
System.System.UIntPtr System.unativeint

Indice del glifo per il quale viene richiesto il rect.

effectiveGlyphRange
NSRange

In caso contrario null, l'intervallo di tutti i glifi nel frammento di riga.

withoutAdditionalLayout
Boolean

Se true, la generazione e il layout del glifo non vengono eseguiti.

Restituisce

Attributi

Si applica a

GetLineFragmentRect(nuint, Boolean)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public CoreGraphics.CGRect GetLineFragmentRect (nuint glyphIndex, bool withoutAdditionalLayout);
member this.GetLineFragmentRect : nuint * bool -> CoreGraphics.CGRect

Parametri

glyphIndex
System.System.UIntPtr System.unativeint
withoutAdditionalLayout
Boolean

Restituisce

Attributi

Si applica a

GetLineFragmentRect(nuint, IntPtr)

[Foundation.Export("lineFragmentRectForGlyphAtIndex:effectiveRange:")]
protected virtual CoreGraphics.CGRect GetLineFragmentRect (nuint glyphIndex, IntPtr effectiveGlyphRange);
abstract member GetLineFragmentRect : nuint * nativeint -> CoreGraphics.CGRect
override this.GetLineFragmentRect : nuint * nativeint -> CoreGraphics.CGRect

Parametri

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
IntPtr

nativeint

Restituisce

Attributi

Si applica a

GetLineFragmentRect(nuint)

public CoreGraphics.CGRect GetLineFragmentRect (nuint glyphIndex);
member this.GetLineFragmentRect : nuint -> CoreGraphics.CGRect

Parametri

glyphIndex
System.System.UIntPtr System.unativeint

Restituisce

Si applica a

GetLineFragmentRect(nuint, NSRange)

public CoreGraphics.CGRect GetLineFragmentRect (nuint glyphIndex, out Foundation.NSRange effectiveGlyphRange);
member this.GetLineFragmentRect : nuint *  -> CoreGraphics.CGRect

Parametri

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Restituisce

Si applica a