浏览代码

I just added the missing n in thickness issue #962 (#964)

Vincenzo Schimmenti 1 年之前
父节点
当前提交
5cc54e0b8c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/QuestPDF/Fluent/LineExtensions.cs

+ 2 - 2
Source/QuestPDF/Fluent/LineExtensions.cs

@@ -39,9 +39,9 @@ namespace QuestPDF.Fluent
         /// The line is not just a visual element; it occupies actual space within the document.
         /// </remarks>
         /// <returns>A descriptor to modify line attributes.</returns>
-        public static ILine LineHorizontal(this IContainer element, float thickess, Unit unit = Unit.Point)
+        public static ILine LineHorizontal(this IContainer element, float thickness, Unit unit = Unit.Point)
         {
-            return element.Line(LineType.Horizontal, thickess.ToPoints(unit));
+            return element.Line(LineType.Horizontal, thickness.ToPoints(unit));
         }
         
         /// <summary>