INSLayoutManagerDelegate インターフェイス

定義

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

[Foundation.Protocol(Name="NSLayoutManagerDelegate", WrapperType=typeof(AppKit.NSLayoutManagerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatedLayout", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager) }, Selector="layoutManagerDidInvalidateLayout:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidCompleteLayout", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(AppKit.NSTextContainer), typeof(System.Boolean) }, Selector="layoutManager:didCompleteLayoutForTextContainer:atEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseTemporaryAttributes", ParameterByRef=new System.Boolean[] { false, false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(System.Boolean), typeof(System.UIntPtr), typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="layoutManager:shouldUseTemporaryAttributes:forDrawingToScreen:atCharacterIndex:effectiveRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldGenerateGlyphs", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(AppKit.NSFont), typeof(Foundation.NSRange) }, ReturnType=typeof(System.UIntPtr), Selector="layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLineSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingBeforeGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseAction", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(AppKit.NSControlCharacterAction), typeof(System.UIntPtr) }, ReturnType=typeof(AppKit.NSControlCharacterAction), Selector="layoutManager:shouldUseAction:forControlCharacterAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByWordBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByHyphenatingBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetBoundingBox", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeGeometry", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGSize) }, Selector="layoutManager:textContainer:didChangeGeometryFromSize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldSetLineFragmentRect", ParameterByRef=new System.Boolean[] { false, true, true, true, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGRect), typeof(System.Runtime.InteropServices.NFloat), typeof(AppKit.NSTextContainer), typeof(Foundation.NSRange) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")]
public interface INSLayoutManagerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSLayoutManagerDelegate", WrapperType=typeof(AppKit.NSLayoutManagerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatedLayout", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager) }, Selector="layoutManagerDidInvalidateLayout:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidCompleteLayout", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(AppKit.NSTextContainer), typeof(System.Boolean) }, Selector="layoutManager:didCompleteLayoutForTextContainer:atEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseTemporaryAttributes", ParameterByRef=new System.Boolean[] { false, false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(System.Boolean), typeof(System.UIntPtr), typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="layoutManager:shouldUseTemporaryAttributes:forDrawingToScreen:atCharacterIndex:effectiveRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldGenerateGlyphs", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(AppKit.NSFont), typeof(Foundation.NSRange) }, ReturnType=typeof(System.UIntPtr), Selector="layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLineSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingBeforeGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseAction", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(AppKit.NSControlCharacterAction), typeof(System.UIntPtr) }, ReturnType=typeof(AppKit.NSControlCharacterAction), Selector="layoutManager:shouldUseAction:forControlCharacterAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByWordBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByHyphenatingBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetBoundingBox", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeGeometry", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(AppKit.NSTextContainer), typeof(CoreGraphics.CGSize) }, Selector="layoutManager:textContainer:didChangeGeometryFromSize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldSetLineFragmentRect", ParameterByRef=new System.Boolean[] { false, true, true, true, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGRect), typeof(System.Runtime.InteropServices.NFloat), typeof(AppKit.NSTextContainer), typeof(Foundation.NSRange) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")>]
type INSLayoutManagerDelegate = interface
    interface INativeObject
    interface IDisposable
派生
属性
実装

プロパティ

名前 説明
Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

(継承元 INativeObject)

メソッド

名前 説明
DidChangeGeometry(NSLayoutManager, NSTextContainer, CGSize)

textContainerのジオメトリがoldSizeから変更され、layoutManagerはレイアウトを無効にします。

DidCompleteLayout(NSLayoutManager, NSTextContainer, Boolean)

指定した NSLayoutManager が、指定したテキスト コンテナー内のテキストのレイアウトを完了したことを示します。

DidInvalidatedLayout(NSLayoutManager)

NSLayoutManager が (グリフ情報ではなく) レイアウト情報を無効にしたことを示します。

GetBoundingBox(NSLayoutManager, UIntPtr, NSTextContainer, CGRect, CGPoint, UIntPtr)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetLineSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetParagraphSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetParagraphSpacingBeforeGlyph(NSLayoutManager, UIntPtr, CGRect)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

ShouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager, UIntPtr)

指定した位置で行をハイフンで区切るかどうかを指定します。 頻繁に呼び出されます。

ShouldBreakLineByWordBeforeCharacter(NSLayoutManager, UIntPtr)

線にソフト改行を含めるかどうか。 頻繁に呼び出されます。

ShouldGenerateGlyphs(NSLayoutManager, IntPtr, IntPtr, IntPtr, NSFont, NSRange)

オーバーライドされると、アプリ開発者は最初のグリフ生成プロセスをカスタマイズできます。

ShouldSetLineFragmentRect(NSLayoutManager, CGRect, CGRect, NFloat, NSTextContainer, NSRange)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

ShouldUseAction(NSLayoutManager, NSControlCharacterAction, UIntPtr)

指定したインデックス位置にあるコントロール文字の制御文字アクション。

ShouldUseTemporaryAttributes(NSLayoutManager, NSDictionary<NSString,NSObject>, Boolean, UIntPtr, NSRange)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

拡張メソッド

名前 説明
DidChangeGeometry(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, CGSize)

textContainerのジオメトリがoldSizeから変更され、layoutManagerはレイアウトを無効にします。

DidCompleteLayout(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, Boolean)

指定した NSLayoutManager が、指定したテキスト コンテナー内のテキストのレイアウトを完了したことを示します。

DidInvalidatedLayout(INSLayoutManagerDelegate, NSLayoutManager)

NSLayoutManager が (グリフ情報ではなく) レイアウト情報を無効にしたことを示します。

GetBoundingBox(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, NSTextContainer, CGRect, CGPoint, UIntPtr)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetHandle(INativeObject)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetLineSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetNonNullHandle(INativeObject, String)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetParagraphSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

GetParagraphSpacingBeforeGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

ShouldBreakLineByHyphenatingBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

指定した位置で行をハイフンで区切るかどうかを指定します。 頻繁に呼び出されます。

ShouldBreakLineByWordBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

線にソフト改行を含めるかどうか。 頻繁に呼び出されます。

ShouldGenerateGlyphs(INSLayoutManagerDelegate, NSLayoutManager, IntPtr, IntPtr, IntPtr, NSFont, NSRange)

オーバーライドされると、アプリ開発者は最初のグリフ生成プロセスをカスタマイズできます。

ShouldSetLineFragmentRect(INSLayoutManagerDelegate, NSLayoutManager, CGRect, CGRect, NFloat, NSTextContainer, NSRange)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

ShouldUseAction(INSLayoutManagerDelegate, NSLayoutManager, NSControlCharacterAction, UIntPtr)

指定したインデックス位置にあるコントロール文字の制御文字アクション。

ShouldUseTemporaryAttributes(INSLayoutManagerDelegate, NSLayoutManager, NSDictionary<NSString,NSObject>, Boolean, UIntPtr, NSRange)

NSLayoutManagerのイベントを公開するデリゲート オブジェクト。

適用対象

こちらもご覧ください