Ingen beskrivning
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UniWebViewTransitionEdge.cs 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // UniWebViewTransitionEdge.cs
  3. // Created by Wang Wei(@onevcat) on 2017-05-04.
  4. //
  5. // This file is a part of UniWebView Project (https://uniwebview.com)
  6. // By purchasing the asset, you are allowed to use this code in as many as projects
  7. // you want, only if you publish the final products under the name of the same account
  8. // used for the purchase.
  9. //
  10. // This asset and all corresponding files (such as source code) are provided on an
  11. // “as is” basis, without warranty of any kind, express of implied, including but not
  12. // limited to the warranties of merchantability, fitness for a particular purpose, and
  13. // noninfringement. In no event shall the authors or copyright holders be liable for any
  14. // claim, damages or other liability, whether in action of contract, tort or otherwise,
  15. // arising from, out of or in connection with the software or the use of other dealing in the software.
  16. /// <summary>
  17. /// An enum to identify transition edge from or to when the UniWebView
  18. /// transition happens. You can specify an edge in Show() or Hide() methods of web view.
  19. /// </summary>
  20. public enum UniWebViewTransitionEdge
  21. {
  22. /// <summary>
  23. /// No transition when showing or hiding.
  24. /// </summary>
  25. None = 0,
  26. /// <summary>
  27. /// Transit the web view from/to top.
  28. /// </summary>
  29. Top,
  30. /// <summary>
  31. /// Transit the web view from/to left.
  32. /// </summary>
  33. Left,
  34. /// <summary>
  35. /// Transit the web view from/to bottom.
  36. /// </summary>
  37. Bottom,
  38. /// <summary>
  39. /// Transit the web view from/to right.
  40. /// </summary>
  41. Right
  42. }