Advertisement
LoganDark

Drawing API

Feb 25th, 2020 (edited)
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Drawing
  2. variant Drawing.new(string ClassName)
  3. Creates a new DrawObject based on the given class name and returns it.
  4.  
  5. Classes:
  6. Base
  7. -- Side note: every class inherits functions and properties from this class.
  8.  
  9. bool Visible
  10. int ZIndex
  11.  
  12. void Remove()
  13.  
  14. Line
  15. Vector2 From
  16. Vector2 To
  17. Color3 Color
  18. float Thickness
  19. float Transparency
  20.  
  21. Text
  22. string Text
  23. Vector2 Position
  24. float Size
  25. Color3 Color
  26. bool Center
  27. bool Outline
  28. float Transparency
  29. Vector2 TextBounds [readonly]
  30.  
  31. Square
  32. Vector2 Position
  33. Vector2 Size
  34. Color3 Color
  35. float Thickness
  36. bool Filled
  37. float Transparency
  38.  
  39. Circle
  40. Vector2 Position
  41. float Radius
  42. Color3 Color
  43. float Thickness
  44. bool Filled
  45. float Transparency
  46. int NumSides
  47.  
  48. Triangle
  49. Vector2 PointA
  50. Vector2 PointB
  51. Vector2 PointC
  52. Color3 Color
  53. float Thickness
  54. bool Filled
  55. float Transparency
  56.  
  57. Image
  58. string Uri
  59. Vector2 Position
  60. Vector2 Size [readonly]
  61. bool Loaded
  62. float Transparency
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement