コード例 #1
0
        /// <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();
        }
コード例 #2
0
 /// <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)
 {
 }
コード例 #3
0
//--------------------------------------
コード例 #4
0
//--------------------------------------