CILinearGradient クラス

定義

ある色を別の色に直線的にフェードするグラデーション。

public class CILinearGradient : CoreImage.CIFilter, CoreImage.ICILinearGradientProtocol, IDisposable
type CILinearGradient = class
    inherit CIFilter
    interface ICILinearGradientProtocol
    interface INativeObject
    interface IDisposable
    interface ICIFilterProtocol
継承
CILinearGradient
派生
実装

注釈

次の例は、使用中のこのフィルターを示しています

var point0 = new CIVector(0, 0); // Default [0 0]
var point1 = new CIVector(250, 250); // Default [200 200]
var linearGrad = new CILinearGradient() {
	Point0 = point0,
	Point1 = point1,
	Color0 = new CIColor (UIColor.Red),
	Color1 = new CIColor (UIColor.Blue)
};

// The Generator Filters need to be cropped before they can be displayed
var crop = new CICrop () {
	Image = linearGrad.OutputImage,
	// Create the Bounds based on the Size of the application Window. (UIWindow)
	Rectangle = new CIVector (0, 0, window.Bounds.Width, window.Bounds.Height) 
};		

// Get the final Generated image from the Crop filter
var output = crop.OutputImage;

// To render the results, we need to create a context, and then
// use one of the context rendering APIs, in this case, we render the
// result into a CoreGraphics image, which is merely a useful representation
//
var context = CIContext.FromOptions (null);

var cgimage = context.CreateCGImage (output, output.Extent);

// The above cgimage can be added to a screen view, for example, this
// would add it to a UIImageView on the screen:
myImageView.Image = UIImage.FromImage (cgimage);

次の出力が生成されます。

コンストラクター

名前 説明
CILinearGradient()

既定値を使用して新しい CILinearGradient を作成します。

CILinearGradient(NativeHandle)

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

CILinearGradient(NSCoder)

unarchiver オブジェクトに格納されているデータからオブジェクトを初期化するコンストラクター。

CILinearGradient(NSObjectFlag)

初期化をスキップし、単にオブジェクトを割り当てるために派生クラスを呼び出すコンストラクター。

CILinearGradient(String)

指定した名前の新しい CILinearGradient を作成します。

プロパティ

名前 説明
AccessibilityAttributedUserInputLabels

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
AccessibilityRespondsToUserInteraction

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
AccessibilityTextualContext

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
AccessibilityUserInputLabels

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Attributes

フィルターの構成可能な属性。

(継承元 CIFilter)
Class

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ClassHandle

このクラスの Objective-C クラス ハンドル。

(継承元 CIFilter)
Color0

InputPoint0の色を取得または設定します。

Color1

InputPoint1の色を取得または設定します。

DebugDescription

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Description

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ExposedBindings

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Handle

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

(継承元 NSObject)
InputKeys

フィルターの入力キーの名前を含む配列を取得します。

(継承元 CIFilter)
InputPoint0

最初のポイントを取得または設定します。

InputPoint1

2 番目のポイントを取得または設定します。

IsDirectBinding

このインスタンスが直接 Objective-C バインドを使用するかどうかを示す値を取得または設定します。

(継承元 NSObject)
IsProxy

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Item[NSString]

keyによって識別される値を取得します。

(継承元 CIFilter)
Name

フィルター名を取得します。

(継承元 CIFilter)
OutputImage

ある色を別の色に直線的にフェードするグラデーション。

OutputKeys

フィルターの出力キーの名前を含む配列を取得します。

(継承元 CIFilter)
RetainCount

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Self

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Superclass

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
SuperHandle

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

(継承元 NSObject)
Zone

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)

メソッド

名前 説明
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

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

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

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

(継承元 NSObject)
Apply(CIKernel, NSArray, NSDictionary)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 CIFilter)
AwakeFromNib()

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
BeginInvokeOnMainThread(Action)

メイン UI スレッドで、指定したアクションを非同期的に呼び出します。

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

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

(継承元 NSObject)
Bind(NSString, NSObject, String, NSBindingOptions)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Bind(NSString, NSObject, String, NSDictionary)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
CommitEditing()

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
CommitEditing(NSObject, Selector, IntPtr)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ConformsToProtocol(NativeHandle)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Copy()

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Copy(NSZone)

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

(継承元 CIFilter)
DangerousAutorelease()

このオブジェクトの 'autorelease' セレクターを呼び出します。

(継承元 NSObject)
DangerousRelease()

このオブジェクトの 'release' セレクターを呼び出します。

(継承元 NSObject)
DangerousRetain()

このオブジェクトで 'retain' セレクターを呼び出します。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
DidChangeValue(String)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Dispose()

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

(継承元 NSObject)
Dispose(Boolean)

このオブジェクトで使用されるリソースを解放します。

(継承元 NSObject)
DoesNotRecognizeSelector(Selector)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
EncodeTo(NSCoder)

指定されたエンコーダーを使用して、オブジェクトの状態をエンコードします。

(継承元 CIFilter)
Equals(NSObject)

指定した NSObject が現在の NSObjectと等しいかどうかを判断します。

(継承元 NSObject)
Equals(Object)

指定したオブジェクトが現在の NSObjectと等しいかどうかを判断します。

(継承元 NSObject)
GetBindingInfo(NSString)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
GetBindingOptionDescriptions(NSString)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
GetBindingValueClass(NSString)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
GetFilterUIView(NSDictionary, NSArray)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 CIFilter)
GetHashCode()

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

(継承元 NSObject)
GetMethodForSelector(Selector)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
GetNativeHash()

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Init()

Objective-C init メソッドを呼び出してオブジェクトを初期化します。

(継承元 NSObject)
InitializeHandle(NativeHandle, String)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
InitializeHandle(NativeHandle)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
Invoke(Action, Double)

指定した遅延の後に、指定したアクションを呼び出します。

(継承元 NSObject)
Invoke(Action, TimeSpan)

指定した遅延の後に、指定したアクションを呼び出します。

(継承元 NSObject)
InvokeOnMainThread(Action)

メイン UI スレッドで、指定したアクションを同期的に呼び出します。

(継承元 NSObject)
InvokeOnMainThread(Selector, NSObject)

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

(継承元 NSObject)
IsEqual(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
IsKindOfClass(Class)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
IsMemberOfClass(Class)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
MarkDirty()

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

(継承元 NSObject)
MutableCopy()

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ObjectDidEndEditing(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[])

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
PerformSelector(Selector)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
PrepareForInterfaceBuilder()

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
RespondsToSelector(Selector)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
SetDefaults()

すべての入力値を既定値に設定します。

(継承元 CIFilter)
SetNilValueForKey(NSString)

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

特定のキー パスによって識別されるプロパティの値を、指定された値に設定します。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ToString()

現在のインスタンスの値の文字列形式を返します。

(継承元 NSObject)
Unbind(NSString)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ValueForKey(NSString)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ValueForKeyPath(NSString)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
ValueForUndefinedKey(NSString)

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

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

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)
WillChangeValue(String)

ある色を別の色に直線的にフェードするグラデーション。

(継承元 NSObject)

拡張メソッド

名前 説明
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)

ある色を別の色に直線的にフェードするグラデーション。

AccessibilityHitTest(NSObject, CGPoint, UIEvent)

ある色を別の色に直線的にフェードするグラデーション。

BeginPreviewPanelControl(NSObject, QLPreviewPanel)

ある色を別の色に直線的にフェードするグラデーション。

BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)

ある色を別の色に直線的にフェードするグラデーション。

BrowserAccessibilityInsertTextAtCursor(NSObject, String)

ある色を別の色に直線的にフェードするグラデーション。

EndPreviewPanelControl(NSObject, QLPreviewPanel)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityCustomRotors(NSObject)

オブジェクトに適 UIAccessibilityCustomRotor オブジェクトの配列 this 取得します。

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityLineRangeForPosition(NSObject, IntPtr)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityNextTextNavigationElement(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityNextTextNavigationElementBlock(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityPreviousTextNavigationElement(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityPreviousTextNavigationElementBlock(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityTextInputResponder(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetAccessibilityTextInputResponderHandler(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityAttributedValue(NSObject, NSRange)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityContainerType(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityCurrentStatus(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityHasDomFocus(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityIsRequired(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityPressedState(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityRoleDescription(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilitySelectedTextRange(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilitySortDirection(NSObject)

ある色を別の色に直線的にフェードするグラデーション。

GetBrowserAccessibilityValue(NSObject, NSRange)

ある色を別の色に直線的にフェードするグラデーション。

GetDebugDescription(INSObjectProtocol)

ある色を別の色に直線的にフェードするグラデーション。

GetHandle(INativeObject)

ある色を別の色に直線的にフェードするグラデーション。

GetNonNullHandle(INativeObject, String)

ある色を別の色に直線的にフェードするグラデーション。

GetValidModes(NSObject, NSFontPanel)

ある色を別の色に直線的にフェードするグラデーション。

ObjectDidBeginEditing(NSObject, INSEditor)

ある色を別の色に直線的にフェードするグラデーション。

ObjectDidEndEditing(NSObject, INSEditor)

ある色を別の色に直線的にフェードするグラデーション。

ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

ある色を別の色に直線的にフェードするグラデーション。

ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

ある色を別の色に直線的にフェードするグラデーション。

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

オブジェクトに適 UIAccessibilityCustomRotor オブジェクトの配列 this 設定します。

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)

ある色を別の色に直線的にフェードするグラデーション。

SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)

ある色を別の色に直線的にフェードするグラデーション。

SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)

ある色を別の色に直線的にフェードするグラデーション。

SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)

ある色を別の色に直線的にフェードするグラデーション。

SetAccessibilityTextInputResponder(NSObject, IUITextInput)

ある色を別の色に直線的にフェードするグラデーション。

SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilityCurrentStatus(NSObject, String)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilityIsRequired(NSObject, Boolean)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilityRoleDescription(NSObject, String)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)

ある色を別の色に直線的にフェードするグラデーション。

SetBrowserAccessibilitySortDirection(NSObject, String)

ある色を別の色に直線的にフェードするグラデーション。

SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)

ある色を別の色に直線的にフェードするグラデーション。

ValidateToolbarItem(NSObject, NSToolbarItem)

ある色を別の色に直線的にフェードするグラデーション。

適用対象