NSLayoutManager.GetLineFragmentRect Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 null
le 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