NSColor クラス

定義

[Foundation.Register("NSColor", true)]
public class NSColor : Foundation.NSObject, AppKit.INSPasteboardReading, AppKit.INSPasteboardWriting, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
type NSColor = class
    inherit NSObject
    interface INSCoding
    interface INativeObject
    interface IDisposable
    interface INSCopying
    interface INSPasteboardReading
    interface INSPasteboardWriting
    interface INSSecureCoding
継承
NSColor
属性
実装

コンストラクター

NSColor(IntPtr)
NSColor(NSCoder)
NSColor(NSObjectFlag)

プロパティ

AlphaComponent
AlternateSelectedControl
AlternateSelectedControlText
AlternatingContentBackgroundColors
Black
BlackComponent
Blue
BlueComponent
BrightnessComponent
Brown
CatalogNameComponent
CGColor
Class (継承元 NSObject)
ClassHandle
Clear
ColorNameComponent
ColorSpace
ColorSpaceName
ComponentCount
Control
ControlAccentColor
ControlBackground
ControlDarkShadow
ControlHighlight
ControlLightHighlight
ControlShadow
ControlText
CurrentControlTint
Cyan
CyanComponent
DarkGray
DebugDescription

このオブジェクトの開発者向けの説明。

(継承元 NSObject)
Description

オブジェクトの説明。Objective-C バージョンの ToString。

(継承元 NSObject)
DisabledControlText
FindHighlightColor
Gray
Green
GreenComponent
Grid
Handle

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

(継承元 NSObject)
Header
HeaderText
Highlight
HueComponent
IgnoresAlpha
IsDirectBinding (継承元 NSObject)
IsProxy (継承元 NSObject)
KeyboardFocusIndicator
Knob
LabelColor
LightGray
LinkColor
LocalizedCatalogNameComponent
LocalizedColorNameComponent
Magenta
MagentaComponent
Orange
PatternImage
PlaceholderTextColor
Purple
QuaternaryLabelColor
Red
RedComponent
RetainCount

オブジェクトの現在の Objective-C 保持カウントを返します。

(継承元 NSObject)
SaturationComponent
ScrollBar
ScrubberTexturedBackgroundColor
SecondaryLabelColor
SecondarySelectedControl
SelectedContentBackgroundColor
SelectedControl
SelectedControlText
SelectedKnob
SelectedMenuItem
SelectedMenuItemText
SelectedText
SelectedTextBackground
Self (継承元 NSObject)
SeparatorColor
Shadow
Superclass (継承元 NSObject)
SuperHandle

この NSObject の基底クラスのメソッドを表すために使用されるハンドル。

(継承元 NSObject)
SystemBlueColor
SystemBrownColor
SystemColorsChanged
SystemGrayColor
SystemGreenColor
SystemOrangeColor
SystemPinkColor
SystemPurpleColor
SystemRedColor
SystemYellowColor
TertiaryLabelColor
Text
TextBackground
Type
UnderPageBackground
UnderPageBackgroundColor
UnemphasizedSelectedContentBackgroundColor
UnemphasizedSelectedTextBackgroundColor
UnemphasizedSelectedTextColor
White
WhiteComponent
WindowBackground
WindowFrame
WindowFrameText
Yellow
YellowComponent
Zone (継承元 NSObject)

メソッド

AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

外部で観察されるオブジェクトを登録します (NSString keyPath を使用)。   観察された変更は、オブザーバーのオブジェクト ObserveValue(NSString, NSObject, NSDictionary, IntPtr) メソッドにディスパッチされます。

(継承元 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

外部で観察されるオブジェクトを登録します (文字列 keyPath を使用)。   観察された変更は、オブザーバーのオブジェクト ObserveValue(NSString, NSObject, NSDictionary, IntPtr) メソッドにディスパッチされます。

(継承元 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

任意のメソッドを使用して外部で観察されるオブジェクトを登録します。

(継承元 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

任意のメソッドを使用して外部で観察されるオブジェクトを登録します。

(継承元 NSObject)
AwakeFromNib()

オブジェクトが nib ファイルから読み込まれた後に呼び出されます。 オーバーライドは base を呼び出す必要があります。AwakeFromNib()。

(継承元 NSObject)
BeginInvokeOnMainThread(Action) (継承元 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

メイン UI スレッドで指定されたコードを非同期的に呼び出します。

(継承元 NSObject)
Bind(NSString, NSObject, String, NSDictionary) (継承元 NSObject)
Bind(String, NSObject, String, NSDictionary)
古い.
(継承元 NSObject)
BindingInfo(String)
古い.
(継承元 NSObject)
BindingOptionDescriptions(String)
古い.
(継承元 NSObject)
BindingValueClass(String)
古い.
(継承元 NSObject)
BlendedColor(nfloat, NSColor)
ColorWithAlphaComponent(nfloat)
CommitEditing() (継承元 NSObject)
CommitEditing(NSObject, Selector, IntPtr) (継承元 NSObject)
ConformsToProtocol(IntPtr)

このオブジェクトが指定されたプロトコルを実装しているかどうかを判断するために呼び出されます。

(継承元 NSObject)
ControlAlternatingRowBackgroundColors()
Copy()

基になる Objective-C オブジェクトのコピーを実行します。

(継承元 NSObject)
Copy(NSZone)
DangerousAutorelease() (継承元 NSObject)
DangerousRelease() (継承元 NSObject)
DangerousRetain() (継承元 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

多対多リレーションシップのインデックスに対して変更が発生したことを示します。

(継承元 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (継承元 NSObject)
DidChangeValue(String)

指定したキーに変更が発生したことを示します。

(継承元 NSObject)
Dispose()

NSObject オブジェクトによって使用されるリソースを解放します。

(継承元 NSObject)
Dispose(Boolean)

NSObject オブジェクトによって使用されるリソースを解放します。

(継承元 NSObject)
DoesNotRecognizeSelector(Selector)

このオブジェクトが指定したセレクターを認識しないことを示します。

(継承元 NSObject)
DrawSwatchInRect(CGRect)
EncodeTo(NSCoder)
Equals(NSObject) (継承元 NSObject)
Equals(Object) (継承元 NSObject)
ExposedBindings() (継承元 NSObject)
FromCalibratedHsb(Byte, Byte, Byte)
FromCalibratedHsb(Int32, Int32, Int32)
FromCalibratedHsb(nfloat, nfloat, nfloat)
FromCalibratedHsba(Byte, Byte, Byte, Byte)
FromCalibratedHsba(Int32, Int32, Int32, Int32)
FromCalibratedHsba(nfloat, nfloat, nfloat, nfloat)
FromCalibratedRgb(Byte, Byte, Byte)
FromCalibratedRgb(Int32, Int32, Int32)
FromCalibratedRgb(nfloat, nfloat, nfloat)
FromCalibratedRgba(Byte, Byte, Byte, Byte)
FromCalibratedRgba(Int32, Int32, Int32, Int32)
FromCalibratedRgba(nfloat, nfloat, nfloat, nfloat)
FromCalibratedWhite(nfloat, nfloat)
FromCatalogName(String, String)
FromCGColor(CGColor)
FromCIColor(CIColor)
FromColor(NSColorSpace, nfloat, nfloat, nfloat, nfloat)
FromColorSpace(NSColorSpace, nfloat[])
FromControlTint(NSControlTint)
FromDeviceCymk(Byte, Byte, Byte, Byte)
FromDeviceCymk(Int32, Int32, Int32, Int32)
FromDeviceCymk(nfloat, nfloat, nfloat, nfloat)
FromDeviceCymka(Byte, Byte, Byte, Byte, Byte)
FromDeviceCymka(Int32, Int32, Int32, Int32, Int32)
FromDeviceCymka(nfloat, nfloat, nfloat, nfloat, nfloat)
FromDeviceHsb(Byte, Byte, Byte)
FromDeviceHsb(Int32, Int32, Int32)
FromDeviceHsb(nfloat, nfloat, nfloat)
FromDeviceHsba(Byte, Byte, Byte, Byte)
FromDeviceHsba(Int32, Int32, Int32, Int32)
FromDeviceHsba(nfloat, nfloat, nfloat, nfloat)
FromDeviceRgb(Byte, Byte, Byte)
FromDeviceRgb(Int32, Int32, Int32)
FromDeviceRgb(nfloat, nfloat, nfloat)
FromDeviceRgba(Byte, Byte, Byte, Byte)
FromDeviceRgba(Int32, Int32, Int32, Int32)
FromDeviceRgba(nfloat, nfloat, nfloat, nfloat)
FromDeviceWhite(nfloat, nfloat)
FromDisplayP3(nfloat, nfloat, nfloat, nfloat)
FromGamma22White(nfloat, nfloat)
FromHsb(Byte, Byte, Byte)
FromHsb(Int32, Int32, Int32)
FromHsb(nfloat, nfloat, nfloat)
FromHsba(Byte, Byte, Byte, Byte)
FromHsba(Int32, Int32, Int32, Int32)
FromHsba(nfloat, nfloat, nfloat, nfloat)
FromName(String)
FromName(String, NSBundle)
FromPasteboard(NSPasteboard)
FromPatternImage(NSImage)
FromRgb(Byte, Byte, Byte)
FromRgb(Int32, Int32, Int32)
FromRgb(nfloat, nfloat, nfloat)
FromRgba(Byte, Byte, Byte, Byte)
FromRgba(Int32, Int32, Int32, Int32)
FromRgba(nfloat, nfloat, nfloat, nfloat)
FromSrgb(nfloat, nfloat, nfloat, nfloat)
FromSystemEffect(NSColorSystemEffect)
FromWhite(nfloat, nfloat)
GetBindingInfo(NSString) (継承元 NSObject)
GetBindingOptionDescriptions(NSString) (継承元 NSObject)
GetBindingValueClass(NSString) (継承元 NSObject)
GetCmyka(nfloat, nfloat, nfloat, nfloat, nfloat)
GetColor(NSColorType)
GetComponents(nfloat[])
GetDictionaryOfValuesFromKeys(NSString[])

指定したキーの値を取得します。

(継承元 NSObject)
GetHashCode()

現在のインスタンスのハッシュ コードを生成します。

(継承元 NSObject)
GetHsba(nfloat, nfloat, nfloat, nfloat)
GetMethodForSelector(Selector) (継承元 NSObject)
GetNativeField(String)
古い.
(継承元 NSObject)
GetNativeHash() (継承元 NSObject)
GetPasteboardPropertyListForType(String)
GetReadableTypesForPasteboard(NSPasteboard)
GetReadingOptionsForType(String, NSPasteboard)
GetRgba(nfloat, nfloat, nfloat, nfloat)
GetWhiteAlpha(nfloat, nfloat)
GetWritableTypesForPasteboard(NSPasteboard)
GetWritingOptionsForType(String, NSPasteboard)
HighlightWithLevel(nfloat)
Init() (継承元 NSObject)
InitializeHandle(IntPtr) (継承元 NSObject)
InitializeHandle(IntPtr, String) (継承元 NSObject)
InitWithPasteboardPropertyList(NSObject, String)
Invoke(Action, Double) (継承元 NSObject)
Invoke(Action, TimeSpan) (継承元 NSObject)
InvokeOnMainThread(Action) (継承元 NSObject)
InvokeOnMainThread(Selector, NSObject)

メイン UI スレッドで指定したコードを同期的に呼び出します。

(継承元 NSObject)
IsEqual(NSObject) (継承元 NSObject)
IsKindOfClass(Class) (継承元 NSObject)
IsMemberOfClass(Class) (継承元 NSObject)
MarkDirty()

通常のピア オブジェクト (IsDirectBinding が true) を toggleref オブジェクトに昇格させます。

(継承元 NSObject)
MutableCopy()

指定した NSObject の変更可能なコピーを作成します。

(継承元 NSObject)
ObjectDidEndEditing(NSObject) (継承元 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

このオブジェクトに対する指定された keyPath の相対値が変更されたことを示します。

(継承元 NSObject)
PerformSelector(Selector) (継承元 NSObject)
PerformSelector(Selector, NSObject) (継承元 NSObject)
PerformSelector(Selector, NSObject, Double)

現在のインスタンスでセレクターを呼び出し、 が null でない場合 obj は、これを 1 つのパラメーターとして渡します。

(継承元 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (継承元 NSObject)
PerformSelector(Selector, NSObject, NSObject) (継承元 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (継承元 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (継承元 NSObject)
PrepareForInterfaceBuilder() (継承元 NSObject)
RemoveObserver(NSObject, NSString)

指定したオブザーバーが、指定した keyPath の変更された値に関する通知をさらに受信しないようにします。

(継承元 NSObject)
RemoveObserver(NSObject, NSString, IntPtr)

指定したオブザーバーが、指定した keyPath とコンテキストの変更された値に関する通知をさらに受信しないようにします。

(継承元 NSObject)
RemoveObserver(NSObject, String)

指定したオブザーバーが、指定した keyPath の変更された値に関する通知をさらに受信しないようにします。

(継承元 NSObject)
RemoveObserver(NSObject, String, IntPtr)

指定したオブザーバーが、指定した keyPath とコンテキストの変更された値に関する通知をさらに受信しないようにします。

(継承元 NSObject)
RespondsToSelector(Selector)

このオブジェクトが指定したセレクターを認識するかどうか。

(継承元 NSObject)
Set()
SetFill()
SetNativeField(String, NSObject)
古い.
(継承元 NSObject)
SetNilValueForKey(NSString)

指定したキーの値を null に設定します。

(継承元 NSObject)
SetStroke()
SetValueForKey(NSObject, NSString)

キーで指定されたプロパティの値を、指定した値に設定します。

(継承元 NSObject)
SetValueForKeyPath(IntPtr, NSString)

アンマネージド オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

(継承元 NSObject)
SetValueForKeyPath(NSObject, NSString)

キーパスを使用して到達できるプロパティの値を設定します。

(継承元 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

未定義のキーに値を書き込もうとすることを示します。 オーバーライドされていない場合は、NSUndefinedKeyException を発生させます。

(継承元 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

この NSObject の値を、指定したディクショナリ内の値に設定します。

(継承元 NSObject)
ShadowWithLevel(nfloat)
ToString()
Unbind(NSString) (継承元 NSObject)
Unbind(String)
古い.
(継承元 NSObject)
UsingColorSpace(NSColorSpace)
UsingColorSpace(String)
UsingColorSpace(String, NSDictionary)
ValueForKey(NSString)

指定したキーに関連付けられているプロパティの値を返します。

(継承元 NSObject)
ValueForKeyPath(NSString)

キーパスを使用して到達できるプロパティの値を返します。

(継承元 NSObject)
ValueForUndefinedKey(NSString)

未定義のキーの値を読み取ろうとしたことを示します。 オーバーライドされていない場合は、NSUndefinedKeyException を発生させます。

(継承元 NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

指定したキー内の指定したインデックスの値が変更されようとしていることを示します。

(継承元 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (継承元 NSObject)
WillChangeValue(String)

指定したキーの値が変更されようとしていることを示します。

(継承元 NSObject)
WriteToPasteboard(NSPasteboard)

拡張メソッド

ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetPasteboardPropertyListForType(INSPasteboardWriting, String)
GetWritableTypesForPasteboard(INSPasteboardWriting, NSPasteboard)
GetWritingOptionsForType(INSPasteboardWriting, String, NSPasteboard)
GetDebugDescription(INSObjectProtocol)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel)

適用対象