public virtual void SetPosition(CocoStudio.Model.PointF position)
 {
     CocoStudioEngineAdapterPINVOKE.CSVisualObject_SetPosition(this.swigCPtr, Vec2.getCPtr(new Vec2(position.X, position.Y)));
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public virtual CocoStudio.Model.PointF TransformToParent(CocoStudio.Model.PointF selfPoint)
        {
            Vec2 vec2 = new Vec2(CocoStudioEngineAdapterPINVOKE.CSVisualObject_TransformToParent(this.swigCPtr, Vec2.getCPtr(new Vec2(selfPoint.X, selfPoint.Y))), true);

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(new CocoStudio.Model.PointF(vec2.x, vec2.y));
        }
        public virtual int HitTest(CocoStudio.Model.PointF point)
        {
            int num = CocoStudioEngineAdapterPINVOKE.CSVisualObject_HitTest(this.swigCPtr, Vec2.getCPtr(new Vec2(point.X, point.Y)));

            if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
            {
                throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
            }
            return(num);
        }