public void PushPattern(string id, double x, double y, double width, double height)
{
using (INativeInstance idNative = UTF8Marshaler.CreateInstance(id))
{
IntPtr exception = IntPtr.Zero;
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
NativeMethods.X64.DrawingWand_PushPattern(Instance, idNative.Instance, x, y, width, height, out exception);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
NativeMethods.X86.DrawingWand_PushPattern(Instance, idNative.Instance, x, y, width, height, out exception);
#endif
CheckException(exception);
}
}
public void Rectangle(double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY)