Edytuj

Udostępnij za pośrednictwem


NSLayoutManager.GetLineFragmentRect Method

Definition

Overloads

GetLineFragmentRect(nuint, NSRange, Boolean)

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

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

GetLineFragmentRect(nuint, NSRange, Boolean)

Gets the line fragment CGRect containing the glyph at , with the option of not triggering 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

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

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
withoutAdditionalLayout
Boolean

Returns

Attributes

Applies to

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
IntPtr

nativeint

Returns

Attributes

Applies to

GetLineFragmentRect(nuint)

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint

Returns

Applies to

GetLineFragmentRect(nuint, NSRange)

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

Parameters

glyphIndex
System.System.UIntPtr System.unativeint
effectiveGlyphRange
NSRange

Returns

Applies to