예제 #1
0
파일: LineStyle.cs 프로젝트: hacklex/Core2D
 /// <summary>
 /// Creates a new <see cref="LineStyle"/> instance.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="fixedLength"></param>
 /// <returns></returns>
 public static LineStyle Create(
     string name = "",
     LineFixedLength fixedLength = null)
 {
     return new LineStyle()
     {
         Name = name,
         FixedLength = fixedLength ?? LineFixedLength.Create()
     };
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="name"></param>
 /// <param name="fixedLength"></param>
 /// <returns></returns>
 public static LineStyle Create(
     string name = "",
     LineFixedLength fixedLength = null)
 {
     return(new LineStyle()
     {
         Name = name,
         FixedLength = fixedLength ?? LineFixedLength.Create()
     });
 }