internal static IntPtr GetInstance(DrawingWand instance) { if (instance == null) return IntPtr.Zero; return instance._NativeInstance.Instance; }
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.Composite(X, Y, Width, Height, Compose, _image);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.TextUnderColor(Color);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.FillPatternUrl(Url);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.PathLineToRel(_coordinates.ToList());
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.PathArcAbs(_coordinates.ToList());
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.Bezier(_coordinates.ToList());
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.BorderColor(Color);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.FillColor(Color);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.Polygon(_coordinates.ToList());
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.StrokePatternUrl(Url);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.TextEncoding(Encoding);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.StrokeColor(Color);
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.Affine(ScaleX, ScaleY, ShearX, ShearY, TranslateX, TranslateY);