NSTextLayoutManagerDelegate class interface

NSTextLayoutManagerDelegate

Constructors

NSTextLayoutManagerDelegate.castFrom(ObjCObjectBase other)
Constructs a NSTextLayoutManagerDelegate that points to the same underlying object as other.
NSTextLayoutManagerDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSTextLayoutManagerDelegate that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
textLayoutManager:renderingAttributesForLink:atLocation:defaultAttributes:
final
textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_ → ObjCProtocolMethod<bool Function(NSTextLayoutManager, NSTextLocation, bool)>
textLayoutManager:shouldBreakLineBeforeLocation:hyphenating:
final
textLayoutManager_textLayoutFragmentForLocation_inTextElement_ → ObjCProtocolMethod<NSTextLayoutFragment Function(NSTextLayoutManager, NSTextLocation, NSTextElement)>
textLayoutManager:textLayoutFragmentForLocation:inTextElement:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSTextLayoutFragment textLayoutManager_textLayoutFragmentForLocation_inTextElement_(NSTextLayoutManager, NSTextLocation, NSTextElement)?, bool textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_(NSTextLayoutManager, NSTextLocation, bool)?, NSDictionary? textLayoutManager_renderingAttributesForLink_atLocation_defaultAttributes_(NSTextLayoutManager, ObjCObjectBase, NSTextLocation, NSDictionary)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextLayoutManagerDelegate protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSTextLayoutManagerDelegate.
implement({NSTextLayoutFragment textLayoutManager_textLayoutFragmentForLocation_inTextElement_(NSTextLayoutManager, NSTextLocation, NSTextElement)?, bool textLayoutManager_shouldBreakLineBeforeLocation_hyphenating_(NSTextLayoutManager, NSTextLocation, bool)?, NSDictionary? textLayoutManager_renderingAttributesForLink_atLocation_defaultAttributes_(NSTextLayoutManager, ObjCObjectBase, NSTextLocation, NSDictionary)?, bool $keepIsolateAlive = true}) → NSTextLayoutManagerDelegate
Builds an object that implements the NSTextLayoutManagerDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.