There was no way to modify or remote previously added path information.
The user can update the shape by deleting the path information
and adding a new path information by using Reset() API.
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Shape_Close")]
public static extern bool Close(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Shape_Reset")]
+ public static extern bool Reset(global::System.Runtime.InteropServices.HandleRef jarg1);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Shape_SetFillColor")]
public static extern void SetFillColor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+
+ /// <summary>
+ /// Reset the added path(rect, circle, path, etc...) information.
+ /// Color and Stroke information are keeped.
+ /// </summary>
+ /// <returns>True when it's successful. False otherwise.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool Reset()
+ {
+ bool ret = Interop.Shape.Reset(BaseHandle.getCPtr(this));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
}
}