/// <summary>Creates a new canvas context for the given canvas element.</summary>
        /// <param name="canvas">The canvas handler for a particular canvas element.</param>
        public CanvasContext(CanvasTag tag)
        {
            // Apply the tag:
            Canvas = tag;

            Path = new VectorPath();
        }
 /// <summary>Creates a new canvas context for the given canvas element.</summary>
 /// <param name="canvas">The canvas handler for a particular canvas element.</param>
 public CanvasContext2D(CanvasTag canvas) : base(canvas)
 {
 }
//--------------------------------------
//--------------------------------------