NSLayoutManager.GetLineFragmentUsedRect 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 |
|---|---|
| GetLineFragmentUsedRect(UIntPtr) | |
| GetLineFragmentUsedRect(UIntPtr, NSRange) | |
| GetLineFragmentUsedRect(UIntPtr, Boolean) | |
| GetLineFragmentUsedRect(UIntPtr, IntPtr) | |
| GetLineFragmentUsedRect(UIntPtr, NSRange, Boolean) |
Gets the usage CGRect containing the glyph at |
| GetLineFragmentUsedRect(UIntPtr, IntPtr, Boolean) |
GetLineFragmentUsedRect(UIntPtr)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentUsedRect(UIntPtr glyphIndex);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentUsedRect : unativeint -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
GetLineFragmentUsedRect(UIntPtr, NSRange)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentUsedRect(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentUsedRect : unativeint * NSRange -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
- NSRange
Returns
- Attributes
Applies to
GetLineFragmentUsedRect(UIntPtr, Boolean)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentUsedRect(UIntPtr glyphIndex, bool withoutAdditionalLayout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentUsedRect : unativeint * bool -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- withoutAdditionalLayout
- Boolean
Returns
- Attributes
Applies to
GetLineFragmentUsedRect(UIntPtr, IntPtr)
[Foundation.Export("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual CoreGraphics.CGRect GetLineFragmentUsedRect(UIntPtr glyphIndex, IntPtr effectiveGlyphRange);
[<Foundation.Export("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLineFragmentUsedRect : unativeint * nativeint -> CoreGraphics.CGRect
override this.GetLineFragmentUsedRect : unativeint * nativeint -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
Returns
- Attributes
Applies to
GetLineFragmentUsedRect(UIntPtr, NSRange, Boolean)
Gets the usage CGRect containing the glyph at glyphIndex, with the option of not triggering layout.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CoreGraphics.CGRect GetLineFragmentUsedRect(UIntPtr glyphIndex, out Foundation.NSRange effectiveGlyphRange, bool withoutAdditionalLayout);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetLineFragmentUsedRect : 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
GetLineFragmentUsedRect(UIntPtr, IntPtr, Boolean)
[Foundation.Export("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual CoreGraphics.CGRect GetLineFragmentUsedRect(UIntPtr glyphIndex, IntPtr effectiveGlyphRange, bool withoutAdditionalLayout);
[<Foundation.Export("lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetLineFragmentUsedRect : unativeint * nativeint * bool -> CoreGraphics.CGRect
override this.GetLineFragmentUsedRect : unativeint * nativeint * bool -> CoreGraphics.CGRect
Parameters
- glyphIndex
-
UIntPtr
unativeint
- effectiveGlyphRange
-
IntPtr
nativeint
- withoutAdditionalLayout
- Boolean
Returns
- Attributes