public CGPath (CGPath reference, CGAffineTransform transform) { if (reference == null) throw new ArgumentNullException ("reference"); handle = CGPathCreateMutableCopyByTransformingPath (reference.Handle, ref transform); }
public CGPath (CGPath basePath) { if (basePath == null) throw new ArgumentNullException ("basePath"); handle = CGPathCreateMutableCopy (basePath.handle); }
public unsafe void AddPath (CGAffineTransform t, CGPath path2) { if (path2 == null) throw new ArgumentNullException ("path2"); CGPathAddPath (handle, &t, path2.handle); }
public unsafe void AddPath (CGPath path2) { if (path2 == null) throw new ArgumentNullException ("path2"); CGPathAddPath (handle, null, path2.handle); }
public CTFrame GetFrame(NSRange stringRange, CGPath path, CTFrameAttributes frameAttributes) { if (path == null) throw new ArgumentNullException ("path"); var frame = CTFramesetterCreateFrame (handle, stringRange, path.Handle, frameAttributes == null ? IntPtr.Zero : frameAttributes.Dictionary.Handle); if (frame == IntPtr.Zero) return null; return new CTFrame (frame, true); }
public static SKPhysicsBody BodyWithPolygonFromPath(CGPath path) { return CreateBodyFromPath (path); }
public static SKPhysicsBody BodyWithEdgeLoopFromPath(CGPath path) { return CreateEdgeLoop (path); }
public static SKPhysicsBody BodyWithEdgeChainFromPath(CGPath path) { return CreateEdgeChain (path); }
public void AddPath (CGPath path) { if (path == null) throw new ArgumentNullException ("path"); CGContextAddPath (handle, path.handle); }