public DrawableMatte(Double x, Double y, PaintMethod paintMethod) : base(AssemblyHelper.CreateInstance(Types.DrawableMatte, new Type[] {typeof(Double), typeof(Double), Types.PaintMethod}, x, y, paintMethod)) { }
/// <summary> /// Applies the DrawableAlpha operation to the <see cref="Drawables" />. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> /// <returns>The <see cref="Drawables" /> instance.</returns> public IDrawables <QuantumType> Alpha(double x, double y, PaintMethod paintMethod) { _drawables.Add(new DrawableAlpha(x, y, paintMethod)); return(this); }
public void Alpha(double x, double y, PaintMethod paintMethod) => _nativeInstance.Alpha(x, y, paintMethod);
public void Color(double x, double y, PaintMethod paintMethod) => _nativeInstance.Color(x, y, paintMethod);
public void DrawMatte(double x, double y, PaintMethod method) { MagickWandApi.DrawMatte(Wand, x, y, method); }
///<summary> /// Creates a new DrawableOpacity instance. ///</summary> ///<param name="x">The X coordinate.</param> ///<param name="y">The Y coordinate.</param> ///<param name="paintMethod">The paint method to use.</param> public DrawableOpacity(double x, double y, PaintMethod paintMethod) { X = x; Y = y; PaintMethod = paintMethod; }
public void Color(double x, double y, PaintMethod paintMethod) { IntPtr exception = IntPtr.Zero; #if ANYCPU if (NativeLibrary.Is64Bit) #endif #if WIN64 || ANYCPU NativeMethods.X64.DrawingWand_Color(Instance, x, y, (UIntPtr)paintMethod, out exception); #endif #if ANYCPU else #endif #if !WIN64 || ANYCPU NativeMethods.X86.DrawingWand_Color(Instance, x, y, (UIntPtr)paintMethod, out exception); #endif CheckException(exception); }
/// <summary> /// Adds a new instance of the <see cref="DrawableColor" /> class to the <see cref="Drawables" />. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> /// <returns>The <see cref="Drawables" /> instance.</returns> public Drawables Color(double x, double y, PaintMethod paintMethod) { _Drawables.Add(new DrawableColor(x, y, paintMethod)); return(this); }
public void Alpha(double x, double y, PaintMethod paintMethod) { _NativeInstance.Alpha(x, y, paintMethod); }
public void Color(double x, double y, PaintMethod paintMethod) { _NativeInstance.Color(x, y, paintMethod); }
/// <summary> /// Creates a new DrawableOpacity instance. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> public Drawables Alpha(double x, double y, PaintMethod paintMethod) { _Drawables.Add(new DrawableAlpha(x, y, paintMethod)); return this; }
/// <summary> /// Creates a new DrawableColor instance. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> public Drawables Color(double x, double y, PaintMethod paintMethod) { _Drawables.Add(new DrawableColor(x, y, paintMethod)); return this; }
/// <summary> /// Initializes a new instance of the <see cref="DrawableColor"/> class. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> public DrawableColor(double x, double y, PaintMethod paintMethod) { X = x; Y = y; PaintMethod = paintMethod; }
/// <summary> /// Initializes a new instance of the <see cref="DrawableAlpha"/> class. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> public DrawableAlpha(double x, double y, PaintMethod paintMethod) { X = x; Y = y; PaintMethod = paintMethod; }
public DrawableColor(Double x, Double y, PaintMethod paintMethod) : base(AssemblyHelper.CreateInstance(Types.DrawableColor, new Type[] { typeof(Double), typeof(Double), Types.PaintMethod }, x, y, paintMethod)) { }
/// <summary> /// Adds a new instance of the <see cref="DrawableAlpha" /> class to the <see cref="Drawables" />. /// </summary> /// <param name="x">The X coordinate.</param> /// <param name="y">The Y coordinate.</param> /// <param name="paintMethod">The paint method to use.</param> /// <returns>The <see cref="Drawables" /> instance.</returns> public Drawables Alpha(double x, double y, PaintMethod paintMethod) { _Drawables.Add(new DrawableAlpha(x, y, paintMethod)); return(this); }