net9.0-macos
namespace AppKit
{
[Protocol(Name = "NSTextLayoutManagerDelegate", WrapperType = typeof(NSTextLayoutManagerDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTextLayoutFragment", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextLayoutManager), typeof(INSTextLocation), typeof(NSTextElement) }, ReturnType = typeof(NSTextLayoutFragment), Selector = "textLayoutManager:textLayoutFragmentForLocation:inTextElement:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBreakLineBeforeLocation", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSTextLayoutManager), typeof(INSTextLocation), typeof(bool) }, ReturnType = typeof(bool), Selector = "textLayoutManager:shouldBreakLineBeforeLocation:hyphenating:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetRenderingAttributes", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(NSTextLayoutManager), typeof(NSObject), typeof(INSTextLocation), typeof(NSDictionary<NSString, NSObject>) }, ReturnType = typeof(NSDictionary<NSString, NSObject>), Selector = "textLayoutManager:renderingAttributesForLink:atLocation:defaultAttributes:")]
[SupportedOSPlatform("macos12.0")]
[SupportedOSPlatform("maccatalyst15.0")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("ios")]
public interface INSTextLayoutManagerDelegate : 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:
|