Share via


NSLayoutManager.SetLineFragment(CGRect, NSRange, CGRect) Method

Definition

Associated the line fragment with bounds fragmentRect with the glyphs in glyphRange.

[Foundation.Export("setLineFragmentRect:forGlyphRange:usedRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetLineFragment(CoreGraphics.CGRect fragmentRect, Foundation.NSRange glyphRange, CoreGraphics.CGRect usedRect);
[<Foundation.Export("setLineFragmentRect:forGlyphRange:usedRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetLineFragment : CoreGraphics.CGRect * Foundation.NSRange * CoreGraphics.CGRect -> unit
override this.SetLineFragment : CoreGraphics.CGRect * Foundation.NSRange * CoreGraphics.CGRect -> unit

Parameters

fragmentRect
CGRect
glyphRange
NSRange
usedRect
CGRect
Attributes

Applies to