CICannyEdgeDetector Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CICannyEdgeDetector() |
Creates a new CICannyEdgeDetector with default values. |
| CICannyEdgeDetector(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| CICannyEdgeDetector(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| CICannyEdgeDetector(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
CICannyEdgeDetector()
Creates a new CICannyEdgeDetector with default values.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CICannyEdgeDetector();
- Attributes
Applies to
CICannyEdgeDetector(NSCoder)
A constructor that initializes the object from the data stored in the unarchiver object.
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public CICannyEdgeDetector(Foundation.NSCoder coder);
[<Foundation.Export("initWithCoder:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CICannyEdgeDetector : Foundation.NSCoder -> CoreImage.CICannyEdgeDetector
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.
The state of this object can also be serialized by using the EncodeTo(NSCoder) companion method.
Applies to
CICannyEdgeDetector(NSObjectFlag)
Constructor to call on derived classes to skip initialization and merely allocate the object.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected CICannyEdgeDetector(Foundation.NSObjectFlag t);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CICannyEdgeDetector : Foundation.NSObjectFlag -> CoreImage.CICannyEdgeDetector
Parameters
Unused sentinel value, pass NSObjectFlag.Empty.
- Attributes
Applies to
CICannyEdgeDetector(NativeHandle)
A constructor used when creating managed representations of unmanaged objects. Called by the runtime.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected internal CICannyEdgeDetector(ObjCRuntime.NativeHandle handle);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
new CoreImage.CICannyEdgeDetector : ObjCRuntime.NativeHandle -> CoreImage.CICannyEdgeDetector
Parameters
- handle
- NativeHandle
A pointer (handle) to the unmanaged object.
- Attributes
Remarks
This constructor is invoked by the runtime infrastructure (GetNSObject(NativeHandle)) 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 GetNSObject(NativeHandle) as it will prevent two instances of a managed object pointing to the same native object.