Example #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);
        }
Example #2
0
 static extern IntPtr _PointToString(PSPDFDrawingPoint point);
Example #3
0
 public bool IsEqualTo(PSPDFDrawingPoint otherPoint)
 {
     return(_IsEqualTo(this, otherPoint));
 }
Example #4
0
 static extern bool _IsEqualTo(PSPDFDrawingPoint point, PSPDFDrawingPoint otherPoint);
Example #5
0
 public static bool IsValid(PSPDFDrawingPoint point)
 {
     return(_IsValid(point));
 }
Example #6
0
 static extern bool _IsValid(PSPDFDrawingPoint point);