示例#1
0
        public List <PSPDFDrawingPoint []> GetLines()
        {
            NSArray <NSValue> [] lines = Lines;
            if (lines == null)
            {
                return(null);
            }

            var ret = new List <PSPDFDrawingPoint []> (lines.Length);

            for (int i = 0; i < lines.Length; i++)
            {
                var arr    = lines [i];
                var count  = arr.Count;
                var points = new PSPDFDrawingPoint [count];
                for (nuint j = 0; j < count; j++)
                {
                    points [j] = arr.GetItem <NSValue> (j).GetPSPDFDrawingPoint();
                }
                ret [i] = points;
            }
            return(ret);
        }
示例#2
0
 static extern IntPtr _PointToString(PSPDFDrawingPoint point);
示例#3
0
 public bool IsEqualTo(PSPDFDrawingPoint otherPoint)
 {
     return(_IsEqualTo(this, otherPoint));
 }
示例#4
0
 static extern bool _IsEqualTo(PSPDFDrawingPoint point, PSPDFDrawingPoint otherPoint);
示例#5
0
 public static bool IsValid(PSPDFDrawingPoint point)
 {
     return(_IsValid(point));
 }
示例#6
0
 static extern bool _IsValid(PSPDFDrawingPoint point);