예제 #1
0
 internal static INativeInstance CreateInstance(IMagickColor <QuantumType> instance)
 {
     if (instance == null)
     {
         return(NativeInstance.Zero);
     }
     return(MagickColor.CreateNativeInstance(instance));
 }
예제 #2
0
 internal static INativeInstance CreateInstance(MagickColor instance)
 {
     if (instance == null)
     {
         return(NativeInstance.Zero);
     }
     return(instance.CreateNativeInstance());
 }
예제 #3
0
 internal static INativeInstance CreateInstance(MagickColor instance)
 {
   if (instance == null)
     return NativeInstance.Zero;
   return instance.CreateNativeInstance();
 }