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