Partager via


NSLayoutManager.GetLineFragmentRect Méthode

Définition

Surcharges

GetLineFragmentRect(nuint, NSRange, Boolean)

Obtient le fragment CGRect de ligne contenant le glyphe à , avec la possibilité de ne pas déclencher la disposition.

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

GetLineFragmentRect(nuint, NSRange, Boolean)

Obtient le fragment CGRect de ligne contenant le glyphe à , avec la possibilité de ne pas déclencher la disposition.

[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

Paramètres

glyphIndex
System.System.UIntPtr System.unativeint

Index du glyphe pour lequel le rect est demandé.

effectiveGlyphRange
NSRange

Si ce n’est pas nullle cas, plage de tous les glyphes dans le fragment de ligne.

withoutAdditionalLayout
Boolean

Si la valeur est true, la génération et la disposition des glyphes ne sont pas effectuées.

Retours

Attributs

S’applique à

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

Paramètres

glyphIndex
System.System.UIntPtr System.unativeint
withoutAdditionalLayout
Boolean

Retours

Attributs

S’applique à

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

Paramètres

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
IntPtr

nativeint

Retours

Attributs

S’applique à

GetLineFragmentRect(nuint)

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

Paramètres

glyphIndex
System.System.UIntPtr System.unativeint

Retours

S’applique à

GetLineFragmentRect(nuint, NSRange)

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

Paramètres

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Retours

S’applique à