net9.0-macos
namespace AppKit
{
[Protocol(Name = "NSTextAttachmentLayout", WrapperType = typeof(NSTextAttachmentLayoutWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetImageForBounds", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(CGRect), typeof(NSDictionary<NSString, NSObject>), typeof(INSTextLocation), typeof(NSTextContainer) }, ReturnType = typeof(NSImage), Selector = "imageForBounds:attributes:location:textContainer:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetAttachmentBounds", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(NSDictionary<NSString, NSObject>), typeof(INSTextLocation), typeof(NSTextContainer), typeof(CGRect), typeof(CGPoint) }, ReturnType = typeof(CGRect), Selector = "attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetViewProvider", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSView), typeof(INSTextLocation), typeof(NSTextContainer) }, ReturnType = typeof(NSTextAttachmentViewProvider), Selector = "viewProviderForParentView:location:textContainer:")]
[SupportedOSPlatform("macos12.0")]
[SupportedOSPlatform("maccatalyst15.0")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("ios")]
public interface INSTextAttachmentLayout : INativeObject, IDisposable
}
Assembly | Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
.NET | 6.0-macos7.0-macos8.0-macos9.0-macos |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|