NSTextAttachmentContainer class interface
NSTextAttachmentContainer
Constructors
- NSTextAttachmentContainer.castFrom(ObjCObjectBase other)
-
Constructs a NSTextAttachmentContainer that points to the same underlying object as
other. -
NSTextAttachmentContainer.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSTextAttachmentContainer 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.Protocolobject for this protocol.no setter -
attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex_
→ ObjCProtocolMethod<
CGRect Function(NSTextContainer?, CGRect, CGPoint, DartNSUInteger)> -
attachmentBoundsForTextContainer:proposedLineFragment:glyphPosition:characterIndex:
final
-
imageForBounds_textContainer_characterIndex_
→ ObjCProtocolMethod<
NSImage? Function(CGRect, NSTextContainer?, DartNSUInteger)> -
imageForBounds:textContainer:characterIndex:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSImage? imageForBounds_textContainer_characterIndex_(CGRect, NSTextContainer?, DartNSUInteger), required CGRect attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSTextContainer?, CGRect, CGPoint, DartNSUInteger), bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextAttachmentContainer protocol to an existing
objc.ObjCProtocolBuilder. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSTextAttachmentContainer. -
implement(
{required NSImage? imageForBounds_textContainer_characterIndex_(CGRect, NSTextContainer?, DartNSUInteger), required CGRect attachmentBoundsForTextContainer_proposedLineFragment_glyphPosition_characterIndex_(NSTextContainer?, CGRect, CGPoint, DartNSUInteger), bool $keepIsolateAlive = true}) → NSTextAttachmentContainer -
Builds an object that implements the NSTextAttachmentContainer protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.