UIKit.NSLayoutManager: Method Members

The methods of UIKit.NSLayoutManager are listed below. For a list of all members, see the NSLayoutManager Members list.

See Also: Inherited members from Foundation.NSObject

Public Methods

AddTextContainer(NSTextContainer)
Appends a UIKit.NSTextContainer to the NSLayoutManager.TextContainers property.
AttachmentSizeForGlyphAtIndex(nuint) : CoreGraphics.CGSize
The size of the attachment cell associated with the glyph at the specified index
BoundingRectForGlyphRange(Foundation.NSRange, NSTextContainer) : CoreGraphics.CGRect
The bounding rectangle, in container coordinates, for the glyphs in the specified range.
CharacterIndexForGlyphAtIndex(nuint) : nuint
The index of the first character associated with the glyph at the specified index.
CharacterIndexForPoint(NSTextContainer, CoreGraphics.CGPoint, ref nfloat) : nuint
The index in NSLayoutManager.TextStorage for the specified point in the container's coordinate system.
CharacterRangeForGlyphRange(Foundation.NSRange) : Foundation.NSRange
The range of characters that generated the glyphs in the specified glyph range.
CharacterRangeForGlyphRange(Foundation.NSRange, ref Foundation.NSRange) : Foundation.NSRange
The range of characters that generated the specified glyph range.
DrawBackgroundForGlyphRange(Foundation.NSRange, CoreGraphics.CGPoint)
Draws background marks for the given glyph range.
DrawGlyphs(Foundation.NSRange, CoreGraphics.CGPoint)
Draws the specified glyph range.
DrawsOutsideLineFragmentForGlyphAtIndex(nuint) : bool
Returns true if the specified glyph draws outside of its line fragment rectangle.
DrawStrikethrough(Foundation.NSRange, Foundation.NSUnderlineStyle, Foundation.NSRange, nfloat, CoreGraphics.CGRect, CoreGraphics.CGPoint)
Draws a strikethrough in the given style through the specified glyphs.
DrawUnderline(Foundation.NSRange, Foundation.NSUnderlineStyle, Foundation.NSRange, nfloat, CoreGraphics.CGRect, CoreGraphics.CGPoint)
Draws an underline in the specified style through the specified glyphs.
EncodeTo(Foundation.NSCoder)
Encodes the state of the object on the provided encoder
EnsureGlyphsForCharacterRange(Foundation.NSRange)
Forces the UIKit.NSLayoutManager to generate glyphs for the specified characters, if it has not already done so.
EnsureGlyphsForGlyphRange(Foundation.NSRange)
Forces the UIKit.NSLayoutManager to generate glyphs for the specified glyph range, if it has not already done so.
EnsureLayoutForBoundingRect(NSTextContainer, CoreGraphics.CGRect)
Forces the UIKit.NSLayoutManager to layout the specified rectangle, if it has not already done so.
EnsureLayoutForCharacterRange(Foundation.NSRange)
Forces the UIKit.NSLayoutManager to layout the specified characters, if it has not already done so.
EnsureLayoutForGlyphRange(Foundation.NSRange)
Forces the UIKit.NSLayoutManager to layout the specified glyphs, if it has not already done so.
EnsureLayoutForTextContainer(NSTextContainer)
Forces the UIKit.NSLayoutManager to layout the specified UIKit.NSTextContainer, if it has not already done so.
EnumerateEnclosingRects(Foundation.NSRange, Foundation.NSRange, NSTextContainer, NSTextLayoutEnumerateEnclosingRects)
Enumerates the enclosing rectangles for the specified glyph range.
EnumerateLineFragments(Foundation.NSRange, NSTextLayoutEnumerateLineFragments)
Enumerate the line fragments intersecting with the specified glyph range.|Enumerate the line fragments intersecting with the specified glyph rane.
FractionOfDistanceThroughGlyphForPoint(NSTextContainer, CoreGraphics.CGPoint) : nfloat
Primitive method for NSLayoutManager.GlyphIndexForPoint.
GetFirstUnlaidCharacterIndex(ref nuint, ref nuint)
The indices of the first character and glyph that are not laid out.
GetGlyphRange(NSTextContainer) : Foundation.NSRange
The range of glyph indices contained in the specified UIKit.NSTextContainer.
GetGlyphs(Foundation.NSRange, short[], NSGlyphProperty[], byte[], nuint[]) : nuint
The glyphs and information needed to perform layout for the specified glyphRange.
GetLineFragmentInsertionPoints(bool, bool, nuint, nfloat[], nint[]) : nuint
Documentation for this section has not yet been entered.
GetUsedRectForTextContainer(NSTextContainer) : CoreGraphics.CGRect
The bounding rectangle in the UIKit.NSTextContainer's coordinates of the laid out glyphs in the UIKit.NSTextContainer.
GlyphAtIndex(nuint) : ushort
The glyph at the specified index.
GlyphAtIndex(ref bool, nuint) : ushort
The glyph at the given index.
GlyphIndexForCharacterAtIndex(nuint) : nuint
The glyph index for the character at the specified index.
GlyphIndexForPoint(NSTextContainer, CoreGraphics.CGPoint) : nuint
The glyph index for the point in the container's coordinate system.
GlyphIndexForPoint(NSTextContainer, CoreGraphics.CGPoint, ref nfloat) : nuint
The glyph index for the point in the container's coordinate system, plus a fraction of the distance between the location of the glyph returned and the next glyph.
GlyphRangeForBoundingRect(NSTextContainer, CoreGraphics.CGRect) : Foundation.NSRange
The minimum range that contains all the laid-out glyphs that at least partially overlap the specified bounds.
GlyphRangeForBoundingRectWithoutAdditionalLayout(NSTextContainer, CoreGraphics.CGRect) : Foundation.NSRange
The minimum range that contains all the laid-out glyphs that at least partially overlap the specified bounds.
GlyphRangeForCharacterRange(Foundation.NSRange) : Foundation.NSRange
The range of glyphs generated for the specified characters.
GlyphRangeForCharacterRange(Foundation.NSRange, ref Foundation.NSRange) : Foundation.NSRange
The range of glyphs generated for the specified characters.
InsertTextContainer(NSTextContainer, nint)
Inserts the specified UIKit.NSTextContainer into NSLayoutManager.TextContainers at the specified index.
InvalidateDisplayForCharacterRange(Foundation.NSRange)
Invalidates the display for the given character range.
InvalidateDisplayForGlyphRange(Foundation.NSRange)
Invalidates the display for the given glyph range.
InvalidateGlyphs(Foundation.NSRange, out Foundation.NSRange, nint)
Invalidates the cached glyphs for the given character range.
InvalidateLayout(Foundation.NSRange, out Foundation.NSRange)
Invalidates the layout for the specified character range. Does not automatically trigger re-layout.
IsValidGlyphIndex(nuint) : bool
Whether the glyphIndex specifies a valid glyph.
LineFragmentRectForGlyphAtIndex(nuint) : CoreGraphics.CGRect
The RectangleF enclosing the line fragment in which the given glyph is laid out.
LineFragmentRectForGlyphAtIndex(ref Foundation.NSRange, nuint) : CoreGraphics.CGRect
The RectangleF enclosing the line fragment for the glyph at the specified glyphIndex.
LineFragmentUsedRectForGlyphAtIndex(nuint) : CoreGraphics.CGRect
The RectangleF enclosing the line fragment for the glyph at the specified glyphIndex.
LineFragmentUsedRectForGlyphAtIndex(ref Foundation.NSRange, nuint) : CoreGraphics.CGRect
The usage RectangleF for the line fragment for the glyph at the specified glyphIndex.
LocationForGlyphAtIndex(nuint) : CoreGraphics.CGPoint
The location of the glyph at the specified index, relative to the containing line fragment's origin.
NotShownAttributeForGlyphAtIndex(nuint) : bool
Whether the glyph at the specified index is shown.
ProcessEditing(NSTextStorage, NSTextStorageEditActions, Foundation.NSRange, Foundation.NSRange, nint)
Indicates that an editing action has occurred.
PropertyForGlyphAtIndex(nuint) : NSGlyphProperty
The UIKit.NSGlyphProperty for the glyph at the specified index.
RangeOfNominallySpacedGlyphsContainingIndex(nuint) : Foundation.NSRange
The largest range of glyphs surrounding the glyph at the specified index that can be displayed using only advancement, not pairwise kerning or other adjustments.
RemoveTextContainer(nint)
Removes the specified UIKit.NSTextContainer from the NSLayoutManager.TextContainers array. Invalidates layout as necessary.
SetAttachmentSize(Foundation.NSRange, CoreGraphics.CGSize)
Sets the size for drawing the attachment attached to the specified glyph.
SetDrawsOutsideLineFragment(bool, nuint)
Specifies whether the glyph at the specified index draws outside the bounds of its line segment.
SetExtraLineFragmentRect(NSTextContainer, CoreGraphics.CGRect, CoreGraphics.CGRect)
Sets the bounds and container for the extra line fragment associated with a final hard line break.
SetGlyphs(IntPtr, IntPtr, IntPtr, UIFont, Foundation.NSRange)
Specifies the initial glyphs and glyph properties for the specified character range.
SetLineFragmentRect(Foundation.NSRange, CoreGraphics.CGRect, CoreGraphics.CGRect)
Specifies the line fragment rectangle for the specified glyph range.
SetLocation(Foundation.NSRange, CoreGraphics.CGPoint)
Sets the location for the first glyph in the specified range.
SetNotShownAttribute(bool, nuint)
Specifies that the glyph at the specified index should be marked as not shown.
SetTextContainer(NSTextContainer, Foundation.NSRange)
Sets the NSTextContainer for the specified glyph range.
ShowCGGlyphs(short[], UIFont, CoreGraphics.CGAffineTransform, Foundation.NSDictionary, CoreGraphics.CGContext, CoreGraphics.CGPoint[], nuint)
Renders into the specified graphicsContext the glyphs at the specified positions and attributes.
Strikethrough(Foundation.NSRange, Foundation.NSUnderlineStyle, Foundation.NSRange, CoreGraphics.CGRect, CoreGraphics.CGPoint)
Strikes-through the specified glyph range.
TextContainerChangedGeometry(NSTextContainer)
Invalidates the layout information and glyphs for the specified UIKit.NSTextContainer and any following.
TextContainerForGlyphAtIndex(nuint) : NSTextContainer
The NSTextContainer in which the specified glyph is laid out.
TextContainerForGlyphAtIndex(ref Foundation.NSRange, nuint) : NSTextContainer
The NSTextContainer in which the specified glyph is laid out.
TruncatedGlyphRangeInLineFragmentForGlyphAtIndex(nuint) : Foundation.NSRange
The range of truncated glyphs for a line fragment containing the specified index.
Underline(Foundation.NSRange, Foundation.NSUnderlineStyle, Foundation.NSRange, CoreGraphics.CGRect, CoreGraphics.CGPoint)
Underlines the specified glyph range.

Protected Methods

override
Dispose(bool)
Releases the resources used by the NSLayoutManager object.