コード例 #1
0
ファイル: SvgDefs.cs プロジェクト: sowen69/SvgHelpers
 /// <SvgEvent_Collection/>
 /// <summary>
 /// Collection of event attributes to be applied to an SVG element. 
 /// </summary>
 /// <param name="svgEvent">SvgEvent object</param>
 /// <returns></returns>
 public BeginSvgDefs Events(SvgEvent svgEvent)
 {
     this._events.Add(svgEvent);
     if (this == null) throw new Exception("Method BeginSvgDefs.Events resulted in a null value.");
     return this;
 }
コード例 #2
0
ファイル: SvgPolyline.cs プロジェクト: sowen69/SvgHelpers
 /// <SvgEvent_Collection/>
 /// <summary>
 /// Collection of event attributes to be applied to an SVG element. 
 /// </summary>
 /// <param name="svgEvent">SvgEvent object</param>
 /// <returns></returns>
 public SvgPolyline Events(SvgEvent svgEvent)
 {
     this._events.Add(svgEvent);
     if (this == null) throw new Exception("Method SvgPolyline.Events resulted in a null value.");
     return this;
 }
コード例 #3
0
ファイル: SvgTextPath.cs プロジェクト: sowen69/SvgHelpers
 /// <SvgEvent_Collection/>
 /// <summary>
 /// Collection of event attributes to be applied to an SVG element. 
 /// </summary>
 /// <param name="svgEvent">SvgEvent object</param>
 /// <returns></returns>
 public SvgTextPath Events(SvgEvent svgEvent)
 {
     this._events.Add(svgEvent);
     if (this == null) throw new Exception("Method SvgRect.Events resulted in a null value.");
     return this;
 }