NSLayoutManager.GetLineFragmentRect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetLineFragmentRect(UIntPtr, IntPtr, Boolean) | |
| GetLineFragmentRect(UIntPtr, NSRange, Boolean) |
Gets the line fragment CGRect containing the glyph at |
| GetLineFragmentRect(UIntPtr, IntPtr) | |
| GetLineFragmentRect(UIntPtr, Boolean) | |
| GetLineFragmentRect(UIntPtr, NSRange) | |
| GetLineFragmentRect(UIntPtr) |
GetLineFragmentRect(UIntPtr, IntPtr, Boolean)
[Foundation.Export("lineFragmentRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual CoreGraphics.CGRect GetLineFragmentRect(UIntPtr glyphIndex, IntPtr effectiveGlyphRange, bool withoutAdditionalLayout);
[<Foundation.Export("lineFragmentRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLineFragmentRect : unativeint * nativeint * bool -> CoreGraphics.CGRect
override this.GetLineFragmentRect : unativeint * nativeint * bool -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
- withoutAdditionalLayout
- Boolean
Returns
- Attributes
Applies to
GetLineFragmentRect(UIntPtr, NSRange, Boolean)
Gets the line fragment CGRect containing the glyph at glyphIndex, with the option of not triggering layout.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentRect(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange, bool withoutAdditionalLayout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentRect : unativeint * NSRange * bool -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
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(UIntPtr, IntPtr)
[Foundation.Export("lineFragmentRectForGlyphAtIndex:effectiveRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual CoreGraphics.CGRect GetLineFragmentRect(UIntPtr glyphIndex, IntPtr effectiveGlyphRange);
[<Foundation.Export("lineFragmentRectForGlyphAtIndex:effectiveRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLineFragmentRect : unativeint * nativeint -> CoreGraphics.CGRect
override this.GetLineFragmentRect : unativeint * nativeint -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
Returns
- Attributes
Applies to
GetLineFragmentRect(UIntPtr, Boolean)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentRect(UIntPtr glyphIndex, bool withoutAdditionalLayout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentRect : unativeint * bool -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- withoutAdditionalLayout
- Boolean
Returns
- Attributes
Applies to
GetLineFragmentRect(UIntPtr, NSRange)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentRect(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentRect : unativeint * NSRange -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
- NSRange
Returns
- Attributes
Applies to
GetLineFragmentRect(UIntPtr)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentRect(UIntPtr glyphIndex);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentRect : unativeint -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
Returns
- Attributes