ImageMagick.MagickRectangle.CreateNativeInstance C# (CSharp) Method

CreateNativeInstance() private method

private CreateNativeInstance ( ) : NativeMagickRectangle
return NativeMagickRectangle
    private NativeMagickRectangle CreateNativeInstance()
    {
      NativeMagickRectangle instance = new NativeMagickRectangle();
      instance.X = X;
      instance.Y = Y;
      instance.Width = Width;
      instance.Height = Height;

      return instance;
    }

Usage Example

Example #1
0
 internal static INativeInstance CreateInstance(MagickRectangle instance)
 {
     if (instance == null)
     {
         return(NativeInstance.Zero);
     }
     return(instance.CreateNativeInstance());
 }
All Usage Examples Of ImageMagick.MagickRectangle::CreateNativeInstance