Compartilhar via


NSLayoutManager.GetLineFragmentRect Método

Definição

Sobrecargas

GetLineFragmentRect(nuint, NSRange, Boolean)

Obtém o fragmento CGRect de linha que contém o glifo em , com a opção de não disparar o layout.

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

GetLineFragmentRect(nuint, NSRange, Boolean)

Obtém o fragmento CGRect de linha que contém o glifo em , com a opção de não disparar o 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

Parâmetros

glyphIndex
System.System.UIntPtr System.unativeint

O índice do glifo para o qual o rect é solicitado.

effectiveGlyphRange
NSRange

Se não nullfor , o intervalo de todos os glifos no fragmento de linha.

withoutAdditionalLayout
Boolean

Se true, a geração e o layout do glifo não serão executados.

Retornos

Atributos

Aplica-se 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

Retornos

Atributos

Aplica-se 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

Retornos

Atributos

Aplica-se a

GetLineFragmentRect(nuint)

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

Parâmetros

glyphIndex
System.System.UIntPtr System.unativeint

Retornos

Aplica-se 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

Retornos

Aplica-se a