Editar

Compartir a través de


CIImage Constructors

Definition

Overloads

CIImage(NSImageRep)
CIImage(CVImageBuffer, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

CIImage(CVImageBuffer, NSDictionary)
CIImage(CVImageBuffer, NSDictionary<NSString,NSObject>)

Constructs a CIImage using the options in dict.

CIImage(CVPixelBuffer, CIImageInitializationOptions)

Constructs a CIImage using options.

CIImage(CVPixelBuffer, NSDictionary)

Constructs a CIImage from the data in buffer, applying the options specified in dict.

CIImage(NSData, CIImageInitializationOptionsWithMetadata)

Creates a new CIImage from the specified data. The image data must be premultiplied.

CIImage(NSData, NSDictionary)

Creates a new CIImage from the specified data. The image data must be premultiplied.

CIImage(CGLayer, NSDictionary)
CIImage(NSUrl, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

CIImage(IOSurface, CIImageInitializationOptions)
CIImage(IOSurface, NSDictionary)
CIImage(IMTLTexture, NSDictionary)

Constructs a CIImage using the options.

CIImage(UIImage, NSDictionary)

Initializes a CoreImage image from a UIKit image.

CIImage(Int32, CGSize, Boolean, CGColorSpace)
CIImage(NSData, nint, CGSize, Int32, CGColorSpace)
CIImage(ICIImageProvider, nuint, nuint, CIFormat, CGColorSpace, CIImageProviderOptions)
CIImage(NSUrl, NSDictionary)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

CIImage(CGLayer, CIImageInitializationOptions)
CIImage(UIImage, CIImageInitializationOptions)

Initializes a CoreImage image from a UIKit image.

CIImage(CGImage, CIImageInitializationOptionsWithMetadata)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

CIImage(AVDepthData)
CIImage(AVPortraitEffectsMatte)
CIImage(CGImage)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

CIImage(CGLayer)
CIImage(CGImage, NSDictionary)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

CIImage(CIColor)

Creates an image with infinite dimensions that is filled with the specified color.

CIImage(CVPixelBuffer)

Constructs a CIImage with the supplied buffer data.

CIImage(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

CIImage(CVImageBuffer)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

CIImage(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

CIImage(NSUrl)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

CIImage(IOSurface)
CIImage(IntPtr)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

CIImage(UIImage)

Initializes a CoreImage image from a UIKit image.

CIImage(AVDepthData, NSDictionary)
CIImage(AVPortraitEffectsMatte, NSDictionary)
CIImage(NSData)

Creates a new CIImage from the specified data. The image data must be premultiplied.

CIImage(NSImageRep)

[Foundation.Export("initWithBitmapImageRep:")]
public CIImage (AppKit.NSImageRep imageRep);
new CoreImage.CIImage : AppKit.NSImageRep -> CoreImage.CIImage

Parameters

imageRep
NSImageRep
Attributes

Applies to

CIImage(CVImageBuffer, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (CoreVideo.CVImageBuffer imageBuffer, CoreImage.CIImageInitializationOptions options);
new CoreImage.CIImage : CoreVideo.CVImageBuffer * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer

CoreVideo image buffer.

options
CIImageInitializationOptions

Options to initialize the image with.

Attributes

Applies to

CIImage(CVImageBuffer, NSDictionary)

[Foundation.Export("initWithCVImageBuffer:options:")]
public CIImage (CoreVideo.CVImageBuffer imageBuffer, Foundation.NSDictionary dict);
new CoreImage.CIImage : CoreVideo.CVImageBuffer * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer
Attributes

Applies to

CIImage(CVImageBuffer, NSDictionary<NSString,NSObject>)

Constructs a CIImage using the options in dict.

[Foundation.Export("initWithCVImageBuffer:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (CoreVideo.CVImageBuffer imageBuffer, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> dict);
new CoreImage.CIImage : CoreVideo.CVImageBuffer * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer

Holds the data that is the basis of the image.

dict
NSDictionary<NSString,NSObject>

Dictionary of strings to objects, holding the options to be applied during construction. (See CIImageInitializationOptions)

This parameter can be null.

Attributes

Applies to

CIImage(CVPixelBuffer, CIImageInitializationOptions)

Constructs a CIImage using options.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (CoreVideo.CVPixelBuffer buffer, CoreImage.CIImageInitializationOptions options);
new CoreImage.CIImage : CoreVideo.CVPixelBuffer * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

buffer
CVPixelBuffer

Holds the data that is the basis of the image.

options
CIImageInitializationOptions

The options to be applied during initialization.

Attributes

Applies to

CIImage(CVPixelBuffer, NSDictionary)

Constructs a CIImage from the data in buffer, applying the options specified in dict.

[Foundation.Export("initWithCVPixelBuffer:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (CoreVideo.CVPixelBuffer buffer, Foundation.NSDictionary dict);
new CoreImage.CIImage : CoreVideo.CVPixelBuffer * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

buffer
CVPixelBuffer

The data that forms the basis of the image.

dict
NSDictionary

A dictionary of strings to objects defining the options to be applied during construction. (See CIImageInitializationOptions).

This parameter can be null.

Attributes

Applies to

CIImage(NSData, CIImageInitializationOptionsWithMetadata)

Creates a new CIImage from the specified data. The image data must be premultiplied.

public CIImage (Foundation.NSData data, CoreImage.CIImageInitializationOptionsWithMetadata options);
new CoreImage.CIImage : Foundation.NSData * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage

Parameters

data
NSData

Image data, in a format supported by the system.

options
CIImageInitializationOptionsWithMetadata

Options to initialize the image with.

Applies to

CIImage(NSData, NSDictionary)

Creates a new CIImage from the specified data. The image data must be premultiplied.

[Foundation.Export("initWithData:options:")]
public CIImage (Foundation.NSData data, Foundation.NSDictionary d);
new CoreImage.CIImage : Foundation.NSData * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

data
NSData

Image data, in a format supported by the system.

d
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(CGLayer, NSDictionary)

[Foundation.Export("initWithCGLayer:options:")]
public CIImage (CoreGraphics.CGLayer layer, Foundation.NSDictionary d);
new CoreImage.CIImage : CoreGraphics.CGLayer * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

layer
CGLayer
Attributes

Applies to

CIImage(NSUrl, CIImageInitializationOptions)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

public CIImage (Foundation.NSUrl url, CoreImage.CIImageInitializationOptions options);
new CoreImage.CIImage : Foundation.NSUrl * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

url
NSUrl

Location of the image data.

options
CIImageInitializationOptions

Options to initialize the image with.

Applies to

CIImage(IOSurface, CIImageInitializationOptions)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (IOSurface.IOSurface surface, CoreImage.CIImageInitializationOptions options);
new CoreImage.CIImage : IOSurface.IOSurface * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

surface
IOSurface
Attributes

Applies to

CIImage(IOSurface, NSDictionary)

[Foundation.Export("initWithIOSurface:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (IOSurface.IOSurface surface, Foundation.NSDictionary options);
new CoreImage.CIImage : IOSurface.IOSurface * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

surface
IOSurface
options
NSDictionary

To be added.

This parameter can be null.

Attributes

Applies to

CIImage(IMTLTexture, NSDictionary)

Constructs a CIImage using the options.

[Foundation.Export("initWithMTLTexture:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public CIImage (Metal.IMTLTexture texture, Foundation.NSDictionary options);
new CoreImage.CIImage : Metal.IMTLTexture * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

texture
IMTLTexture

The IMTLTexture that is the basis for the CIImage.

options
NSDictionary

A dictionary of strings to objects that hold the configuration options.

This parameter can be null.

Attributes

Applies to

CIImage(UIImage, NSDictionary)

Initializes a CoreImage image from a UIKit image.

[Foundation.Export("initWithImage:options:")]
public CIImage (UIKit.UIImage image, Foundation.NSDictionary options);
new CoreImage.CIImage : UIKit.UIImage * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

image
UIImage

UIKit image.

options
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(Int32, CGSize, Boolean, CGColorSpace)

[Foundation.Export("initWithTexture:size:flipped:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, null)]
public CIImage (int glTextureName, CoreGraphics.CGSize size, bool flipped, CoreGraphics.CGColorSpace colorSpace);
[Foundation.Export("initWithTexture:size:flipped:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (int glTextureName, CoreGraphics.CGSize size, bool flipped, CoreGraphics.CGColorSpace colorSpace);
new CoreImage.CIImage : int * CoreGraphics.CGSize * bool * CoreGraphics.CGColorSpace -> CoreImage.CIImage

Parameters

glTextureName
Int32
size
CGSize
flipped
Boolean
colorSpace
CGColorSpace

To be added.

This parameter can be null.

Attributes

Applies to

CIImage(NSData, nint, CGSize, Int32, CGColorSpace)

[Foundation.Export("initWithBitmapData:bytesPerRow:size:format:colorSpace:")]
public CIImage (Foundation.NSData d, nint bytesPerRow, CoreGraphics.CGSize size, int pixelFormat, CoreGraphics.CGColorSpace colorSpace);
new CoreImage.CIImage : Foundation.NSData * nint * CoreGraphics.CGSize * int * CoreGraphics.CGColorSpace -> CoreImage.CIImage

Parameters

d
NSData
bytesPerRow
System.System.IntPtr System.nativeint
size
CGSize
pixelFormat
Int32
colorSpace
CGColorSpace

To be added.

This parameter can be null.

Attributes

Applies to

CIImage(ICIImageProvider, nuint, nuint, CIFormat, CGColorSpace, CIImageProviderOptions)

public CIImage (CoreImage.ICIImageProvider provider, nuint width, nuint height, CoreImage.CIFormat pixelFormat, CoreGraphics.CGColorSpace colorSpace, CoreImage.CIImageProviderOptions options);
new CoreImage.CIImage : CoreImage.ICIImageProvider * nuint * nuint * CoreImage.CIFormat * CoreGraphics.CGColorSpace * CoreImage.CIImageProviderOptions -> CoreImage.CIImage

Parameters

provider
ICIImageProvider
width
System.System.UIntPtr System.unativeint
height
System.System.UIntPtr System.unativeint
pixelFormat
CIFormat
colorSpace
CGColorSpace

Applies to

CIImage(NSUrl, NSDictionary)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

[Foundation.Export("initWithContentsOfURL:options:")]
public CIImage (Foundation.NSUrl url, Foundation.NSDictionary d);
new CoreImage.CIImage : Foundation.NSUrl * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

url
NSUrl

Location of the image data.

d
NSDictionary

Extra configuration options, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(CGLayer, CIImageInitializationOptions)

public CIImage (CoreGraphics.CGLayer layer, CoreImage.CIImageInitializationOptions options);
new CoreImage.CIImage : CoreGraphics.CGLayer * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

layer
CGLayer

Applies to

CIImage(UIImage, CIImageInitializationOptions)

Initializes a CoreImage image from a UIKit image.

public CIImage (UIKit.UIImage image, CoreImage.CIImageInitializationOptions options);
new CoreImage.CIImage : UIKit.UIImage * CoreImage.CIImageInitializationOptions -> CoreImage.CIImage

Parameters

image
UIImage

UIKit image.

options
CIImageInitializationOptions

Options to initialize the image with.

Applies to

CIImage(CGImage, CIImageInitializationOptionsWithMetadata)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

public CIImage (CoreGraphics.CGImage image, CoreImage.CIImageInitializationOptionsWithMetadata options);
new CoreImage.CIImage : CoreGraphics.CGImage * CoreImage.CIImageInitializationOptionsWithMetadata -> CoreImage.CIImage

Parameters

image
CGImage

CoreGraphics image.

options
CIImageInitializationOptionsWithMetadata

Options to initialize the image with.

Applies to

CIImage(AVDepthData)

[Foundation.Export("initWithDepthData:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (AVFoundation.AVDepthData data);
new CoreImage.CIImage : AVFoundation.AVDepthData -> CoreImage.CIImage

Parameters

Attributes

Applies to

CIImage(AVPortraitEffectsMatte)

[Foundation.Export("initWithPortaitEffectsMatte:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public CIImage (AVFoundation.AVPortraitEffectsMatte matte);
new CoreImage.CIImage : AVFoundation.AVPortraitEffectsMatte -> CoreImage.CIImage

Parameters

Attributes

Applies to

CIImage(CGImage)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

[Foundation.Export("initWithCGImage:")]
public CIImage (CoreGraphics.CGImage image);
new CoreImage.CIImage : CoreGraphics.CGImage -> CoreImage.CIImage

Parameters

image
CGImage

CoreGraphics image.

Attributes

Applies to

CIImage(CGLayer)

[Foundation.Export("initWithCGLayer:")]
public CIImage (CoreGraphics.CGLayer layer);
new CoreImage.CIImage : CoreGraphics.CGLayer -> CoreImage.CIImage

Parameters

layer
CGLayer
Attributes

Applies to

CIImage(CGImage, NSDictionary)

Initializes a CoreImage Image from a CoreGraphics bitmap representation

[Foundation.Export("initWithCGImage:options:")]
public CIImage (CoreGraphics.CGImage image, Foundation.NSDictionary d);
new CoreImage.CIImage : CoreGraphics.CGImage * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

image
CGImage

CoreGraphics image.

d
NSDictionary

Metadata to initialize with, as an NSDictionary.

This parameter can be null.

Attributes

Applies to

CIImage(CIColor)

Creates an image with infinite dimensions that is filled with the specified color.

[Foundation.Export("initWithColor:")]
public CIImage (CoreImage.CIColor color);
new CoreImage.CIImage : CoreImage.CIColor -> CoreImage.CIImage

Parameters

color
CIColor

Color to use for the image.

Attributes

Applies to

CIImage(CVPixelBuffer)

Constructs a CIImage with the supplied buffer data.

[Foundation.Export("initWithCVPixelBuffer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (CoreVideo.CVPixelBuffer buffer);
new CoreImage.CIImage : CoreVideo.CVPixelBuffer -> CoreImage.CIImage

Parameters

buffer
CVPixelBuffer

The pixel buffer that supplies the data for the image.

Attributes

Applies to

CIImage(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public CIImage (Foundation.NSCoder coder);
new CoreImage.CIImage : Foundation.NSCoder -> CoreImage.CIImage

Parameters

coder
NSCoder

The unarchiver object.

Attributes

Remarks

This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the NSCoding protocol.

If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type NSCoder and decorate it with the [Export("initWithCoder:"] attribute declaration.

The state of this object can also be serialized by using the companion method, EncodeTo.

Applies to

CIImage(CVImageBuffer)

Initializes a CoreImage image from the contents of the specified CoreVideo image buffer.

[Foundation.Export("initWithCVImageBuffer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (CoreVideo.CVImageBuffer imageBuffer);
new CoreImage.CIImage : CoreVideo.CVImageBuffer -> CoreImage.CIImage

Parameters

imageBuffer
CVImageBuffer

CoreVideo image buffer.

Attributes

Applies to

CIImage(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

protected CIImage (Foundation.NSObjectFlag t);
new CoreImage.CIImage : Foundation.NSObjectFlag -> CoreImage.CIImage

Parameters

t
NSObjectFlag

Unused sentinel value, pass NSObjectFlag.Empty.

Remarks

This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.

This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.

It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.

In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class.

The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:

//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
	var initWithFrame = new Selector ("initWithFrame:").Handle;
	if (IsDirectBinding)
		Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
	else
		Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}

Applies to

CIImage(NSUrl)

Initializes a CoreImage image from the contents of the file pointed by the specified url.

[Foundation.Export("initWithContentsOfURL:")]
public CIImage (Foundation.NSUrl url);
new CoreImage.CIImage : Foundation.NSUrl -> CoreImage.CIImage

Parameters

url
NSUrl

Location of the image data.

Attributes

Applies to

CIImage(IOSurface)

[Foundation.Export("initWithIOSurface:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (IOSurface.IOSurface surface);
new CoreImage.CIImage : IOSurface.IOSurface -> CoreImage.CIImage

Parameters

surface
IOSurface
Attributes

Applies to

CIImage(IntPtr)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

protected internal CIImage (IntPtr handle);
new CoreImage.CIImage : nativeint -> CoreImage.CIImage

Parameters

handle
IntPtr

nativeint

Pointer (handle) to the unmanaged object.

Remarks

This constructor is invoked by the runtime infrastructure (GetNSObject(IntPtr)) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.

Applies to

CIImage(UIImage)

Initializes a CoreImage image from a UIKit image.

[Foundation.Export("initWithImage:")]
public CIImage (UIKit.UIImage image);
new CoreImage.CIImage : UIKit.UIImage -> CoreImage.CIImage

Parameters

image
UIImage

UIKit image.

Attributes

Applies to

CIImage(AVDepthData, NSDictionary)

[Foundation.Export("initWithDepthData:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public CIImage (AVFoundation.AVDepthData data, Foundation.NSDictionary options);
new CoreImage.CIImage : AVFoundation.AVDepthData * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

options
NSDictionary
Attributes

Applies to

CIImage(AVPortraitEffectsMatte, NSDictionary)

[Foundation.Export("initWithPortaitEffectsMatte:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public CIImage (AVFoundation.AVPortraitEffectsMatte matte, Foundation.NSDictionary options);
new CoreImage.CIImage : AVFoundation.AVPortraitEffectsMatte * Foundation.NSDictionary -> CoreImage.CIImage

Parameters

options
NSDictionary
Attributes

Applies to

CIImage(NSData)

Creates a new CIImage from the specified data. The image data must be premultiplied.

[Foundation.Export("initWithData:")]
public CIImage (Foundation.NSData data);
new CoreImage.CIImage : Foundation.NSData -> CoreImage.CIImage

Parameters

data
NSData

Image data, in a format supported by the system.

Attributes

Applies to