Edit

Share via


NSLayoutManager.GetLineFragmentUsedRect Method

Definition

Overloads

GetLineFragmentUsedRect(nuint)
GetLineFragmentUsedRect(nuint, NSRange)
GetLineFragmentUsedRect(nuint, Boolean)
GetLineFragmentUsedRect(nuint, IntPtr)
GetLineFragmentUsedRect(nuint, NSRange, Boolean)

Gets the usage CGRect containing the glyph at , with the option of not triggering layout.

GetLineFragmentUsedRect(nuint)

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

Returns

Applies to

GetLineFragmentUsedRect(nuint, NSRange)

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Returns

Applies to

GetLineFragmentUsedRect(nuint, Boolean)

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
withoutAdditionalLayout
Boolean

Returns

Attributes

Applies to

GetLineFragmentUsedRect(nuint, IntPtr)

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
IntPtr

nativeint

Returns

Attributes

Applies to

GetLineFragmentUsedRect(nuint, NSRange, Boolean)

Gets the usage CGRect containing the glyph at , with the option of not triggering layout.

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

The index of the glyph for which the rect is requested.

effectiveGlyphRange
NSRange

If not null, the range of all glyphs in the line fragment.

withoutAdditionalLayout
Boolean

If true, glyph generation and layout are not performed.

Returns

Attributes

Applies to