Share via


NSLayoutManager.GetLineFragmentRect Método

Definición

Sobrecargas

GetLineFragmentRect(nuint, NSRange, Boolean)

Obtiene el fragmento CGRect de línea que contiene el glifo en , con la opción de no desencadenar el diseño.

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

GetLineFragmentRect(nuint, NSRange, Boolean)

Obtiene el fragmento CGRect de línea que contiene el glifo en , con la opción de no desencadenar el diseño.

[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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint

Índice del glifo para el que se solicita el rect.

effectiveGlyphRange
NSRange

Si no es null, el intervalo de todos los glifos del fragmento de línea.

withoutAdditionalLayout
Boolean

Si truees , no se realizan la generación y el diseño del glifo.

Devoluciones

Atributos

Se aplica 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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint
withoutAdditionalLayout
Boolean

Devoluciones

Atributos

Se aplica 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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
IntPtr

nativeint

Devoluciones

Atributos

Se aplica a

GetLineFragmentRect(nuint)

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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint

Devoluciones

Se aplica a

GetLineFragmentRect(nuint, NSRange)

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

Parámetros

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Devoluciones

Se aplica a