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