Просмотр исходного кода

ComPDFKit.Tools(win) - Polygon Param

liuaoran 1 месяц назад
Родитель
Сommit
989432ed37

+ 1 - 0
Demo/Examples/ComPDFKit.Tool/ComPDFKit.Tool.csproj

@@ -137,6 +137,7 @@
     <Compile Include="CPDFToolManager.cs" />
     <Compile Include="SettingParam\AnnotParam.cs" />
     <Compile Include="SettingParam\AnnotParam\CircleParam.cs" />
+    <Compile Include="SettingParam\AnnotParam\PolygonParam.cs" />
     <Compile Include="SettingParam\AnnotParam\FreeTextParam.cs" />
     <Compile Include="SettingParam\AnnotParam\HighlightParam.cs" />
     <Compile Include="SettingParam\AnnotParam\InkParam.cs" />

+ 24 - 0
Demo/Examples/ComPDFKit.Tool/SettingParam/AnnotParam/PolygonParam.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using ComPDFKit.Import;
+using ComPDFKit.PDFAnnotation;
+
+namespace ComPDFKit.Tool
+{
+    public class PolygonParam : AnnotParam
+    {
+        public double LineWidth { get; set; }
+        public byte[] LineColor { get; set; }
+        public List<CPoint> SavePoints { get; set; }
+        public C_BORDER_INTENSITY Intensity { set; get; }
+        public C_BORDER_STYLE Style { set; get; }
+        public PolygonParam()
+        {
+            CurrentType = C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON;
+        }
+
+    }
+}