sketchup-api-stubs 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +5 -5
  2. data/.yardopts +7 -7
  3. data/lib/sketchup-api-stubs.rb +1 -0
  4. data/lib/sketchup-api-stubs/autoload.rb +144 -0
  5. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/BoundingBox.rb +0 -6
  6. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Bounds2d.rb +0 -0
  7. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/LatLong.rb +0 -0
  8. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/OrientedBounds2d.rb +0 -0
  9. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Point2d.rb +0 -0
  10. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Point3d.rb +1 -5
  11. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/PolygonMesh.rb +0 -0
  12. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Transformation.rb +0 -2
  13. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Transformation2d.rb +0 -2
  14. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/UTM.rb +0 -0
  15. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Vector2d.rb +0 -10
  16. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Vector3d.rb +0 -10
  17. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout.rb +0 -0
  18. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/AngularDimension.rb +0 -0
  19. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/AutoTextDefinition.rb +0 -6
  20. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/AutoTextDefinitions.rb +0 -0
  21. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/ConnectionPoint.rb +0 -0
  22. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Document.rb +0 -4
  23. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Ellipse.rb +0 -0
  24. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Entities.rb +0 -0
  25. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Entity.rb +0 -4
  26. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/FormattedText.rb +1 -1
  27. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Grid.rb +0 -8
  28. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Group.rb +0 -0
  29. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Image.rb +0 -0
  30. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Label.rb +0 -0
  31. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Layer.rb +0 -4
  32. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LayerInstance.rb +0 -0
  33. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Layers.rb +0 -0
  34. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LinearDimension.rb +0 -0
  35. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LockedEntityError.rb +1 -1
  36. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LockedLayerError.rb +1 -1
  37. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Page.rb +0 -4
  38. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/PageInfo.rb +0 -6
  39. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Pages.rb +0 -0
  40. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Path.rb +0 -2
  41. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Rectangle.rb +0 -0
  42. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/SketchUpModel.rb +0 -10
  43. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Style.rb +0 -2
  44. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Table.rb +0 -0
  45. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/TableCell.rb +0 -0
  46. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/TableColumn.rb +0 -0
  47. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/TableRow.rb +0 -0
  48. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Animation.rb +0 -0
  49. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/AppObserver.rb +0 -0
  50. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ArcCurve.rb +0 -0
  51. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/AttributeDictionaries.rb +0 -0
  52. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/AttributeDictionary.rb +0 -0
  53. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Axes.rb +0 -0
  54. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Behavior.rb +0 -10
  55. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Camera.rb +0 -6
  56. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ClassificationSchema.rb +0 -0
  57. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Classifications.rb +0 -0
  58. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Color.rb +0 -0
  59. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ComponentDefinition.rb +0 -8
  60. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ComponentInstance.rb +0 -6
  61. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Console.rb +0 -2
  62. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ConstructionLine.rb +0 -0
  63. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ConstructionPoint.rb +0 -0
  64. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Curve.rb +0 -2
  65. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DefinitionList.rb +1 -1
  66. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DefinitionObserver.rb +0 -0
  67. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DefinitionsObserver.rb +0 -0
  68. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Dimension.rb +0 -2
  69. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DimensionLinear.rb +0 -0
  70. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DimensionObserver.rb +0 -0
  71. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DimensionRadial.rb +0 -0
  72. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Drawingelement.rb +0 -8
  73. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Edge.rb +0 -2
  74. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/EdgeUse.rb +0 -2
  75. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Entities.rb +45 -28
  76. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/EntitiesObserver.rb +0 -0
  77. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Entity.rb +1 -5
  78. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/EntityObserver.rb +0 -0
  79. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ExtensionsManager.rb +0 -0
  80. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Face.rb +22 -10
  81. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/FrameChangeObserver.rb +0 -0
  82. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Group.rb +0 -6
  83. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Http.rb +0 -0
  84. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Http/Request.rb +0 -0
  85. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Http/Response.rb +0 -0
  86. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Image.rb +0 -0
  87. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ImageRep.rb +0 -0
  88. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Importer.rb +0 -2
  89. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/InputPoint.rb +0 -4
  90. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/InstanceObserver.rb +0 -0
  91. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/InstancePath.rb +0 -0
  92. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Layer.rb +0 -2
  93. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Layers.rb +0 -0
  94. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/LayersObserver.rb +0 -0
  95. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Licensing.rb +0 -0
  96. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Licensing/ExtensionLicense.rb +0 -2
  97. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/LineStyle.rb +0 -0
  98. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/LineStyles.rb +0 -0
  99. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Loop.rb +0 -4
  100. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Material.rb +0 -2
  101. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Materials.rb +0 -0
  102. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/MaterialsObserver.rb +0 -0
  103. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Menu.rb +0 -0
  104. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Model.rb +1 -7
  105. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ModelObserver.rb +0 -0
  106. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/OptionsManager.rb +0 -0
  107. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/OptionsProvider.rb +0 -0
  108. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/OptionsProviderObserver.rb +0 -0
  109. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Page.rb +0 -18
  110. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Pages.rb +0 -0
  111. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/PagesObserver.rb +0 -0
  112. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/PickHelper.rb +0 -0
  113. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/RegionalSettings.rb +0 -0
  114. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/RenderingOptions.rb +0 -0
  115. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/RenderingOptionsObserver.rb +0 -0
  116. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/SectionPlane.rb +0 -2
  117. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Selection.rb +24 -19
  118. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/SelectionObserver.rb +0 -0
  119. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Set.rb +0 -2
  120. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ShadowInfo.rb +0 -0
  121. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ShadowInfoObserver.rb +0 -0
  122. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Style.rb +0 -0
  123. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Styles.rb +0 -0
  124. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Text.rb +0 -4
  125. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Texture.rb +0 -2
  126. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/TextureWriter.rb +0 -0
  127. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Tool.rb +0 -2
  128. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Tools.rb +0 -0
  129. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ToolsObserver.rb +0 -0
  130. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/UVHelper.rb +0 -0
  131. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Vertex.rb +0 -4
  132. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/View.rb +0 -2
  133. data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ViewObserver.rb +0 -0
  134. data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/Command.rb +0 -0
  135. data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/HtmlDialog.rb +0 -2
  136. data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/Notification.rb +0 -0
  137. data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/Toolbar.rb +0 -2
  138. data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/WebDialog.rb +0 -4
  139. data/{SketchUp → lib/sketchup-api-stubs/stubs}/_top_level.rb +0 -0
  140. data/{SketchUp → lib/sketchup-api-stubs/stubs}/array.rb +0 -0
  141. data/{SketchUp → lib/sketchup-api-stubs/stubs}/geom.rb +0 -0
  142. data/{SketchUp → lib/sketchup-api-stubs/stubs}/languagehandler.rb +0 -0
  143. data/{SketchUp → lib/sketchup-api-stubs/stubs}/length.rb +0 -0
  144. data/{SketchUp → lib/sketchup-api-stubs/stubs}/numeric.rb +0 -0
  145. data/{SketchUp → lib/sketchup-api-stubs/stubs}/sketchup.rb +0 -14
  146. data/{SketchUp → lib/sketchup-api-stubs/stubs}/sketchupextension.rb +0 -6
  147. data/{SketchUp → lib/sketchup-api-stubs/stubs}/string.rb +0 -0
  148. data/{SketchUp → lib/sketchup-api-stubs/stubs}/ui.rb +12 -14
  149. metadata +150 -150
  150. data/autoload/sketchup.rb +0 -144
@@ -112,8 +112,6 @@ class Layout::Layer
112
112
  #
113
113
  # @return [Boolean]
114
114
  #
115
- # @return [Boolean]
116
- #
117
115
  # @version LayOut 2018
118
116
  def locked?
119
117
  end
@@ -213,8 +211,6 @@ class Layout::Layer
213
211
  #
214
212
  # @return [Boolean]
215
213
  #
216
- # @return [Boolean]
217
- #
218
214
  # @version LayOut 2018
219
215
  def shared?
220
216
  end
@@ -5,6 +5,6 @@
5
5
  # that is individually locked.
6
6
  #
7
7
  # @version LayOut 2018
8
- class Layout::LockedEntityError < ArgError
8
+ class Layout::LockedEntityError < ArgumentError
9
9
 
10
10
  end
@@ -6,6 +6,6 @@
6
6
  # shared attribute of a locked {Layout::Layer}.
7
7
  #
8
8
  # @version LayOut 2018
9
- class Layout::LockedLayerError < ArgError
9
+ class Layout::LockedLayerError < ArgumentError
10
10
 
11
11
  end
@@ -79,8 +79,6 @@ class Layout::Page
79
79
  #
80
80
  # @return [Boolean]
81
81
  #
82
- # @return [Boolean]
83
- #
84
82
  # @version LayOut 2018
85
83
  def in_presentation?
86
84
  end
@@ -112,8 +110,6 @@ class Layout::Page
112
110
  #
113
111
  # @return [Boolean]
114
112
  #
115
- # @return [Boolean]
116
- #
117
113
  # @version LayOut 2018
118
114
  def layer_visible?(layer)
119
115
  end
@@ -250,8 +250,6 @@ class Layout::PageInfo
250
250
  #
251
251
  # @return [Boolean]
252
252
  #
253
- # @return [Boolean]
254
- #
255
253
  # @version LayOut 2018
256
254
  def print_margins?
257
255
  end
@@ -278,8 +276,6 @@ class Layout::PageInfo
278
276
  #
279
277
  # @return [Boolean]
280
278
  #
281
- # @return [Boolean]
282
- #
283
279
  # @version LayOut 2018
284
280
  def print_paper_color?
285
281
  end
@@ -331,8 +327,6 @@ class Layout::PageInfo
331
327
  #
332
328
  # @return [Boolean]
333
329
  #
334
- # @return [Boolean]
335
- #
336
330
  # @version LayOut 2018
337
331
  def show_margins?
338
332
  end
@@ -127,8 +127,6 @@ class Layout::Path < Layout::Entity
127
127
  #
128
128
  # @return [Boolean]
129
129
  #
130
- # @return [Boolean]
131
- #
132
130
  # @version LayOut 2018
133
131
  def closed?
134
132
  end
@@ -134,8 +134,6 @@ class Layout::SketchUpModel < Layout::Entity
134
134
  #
135
135
  # @return [Boolean]
136
136
  #
137
- # @return [Boolean]
138
- #
139
137
  # @version LayOut 2018
140
138
  def current_scene_modified?
141
139
  end
@@ -204,8 +202,6 @@ class Layout::SketchUpModel < Layout::Entity
204
202
  #
205
203
  # @return [Boolean]
206
204
  #
207
- # @return [Boolean]
208
- #
209
205
  # @version LayOut 2018
210
206
  def display_background?
211
207
  end
@@ -329,8 +325,6 @@ class Layout::SketchUpModel < Layout::Entity
329
325
  #
330
326
  # @return [Boolean]
331
327
  #
332
- # @return [Boolean]
333
- #
334
328
  # @version LayOut 2018
335
329
  def perspective?
336
330
  end
@@ -364,8 +358,6 @@ class Layout::SketchUpModel < Layout::Entity
364
358
  #
365
359
  # @return [Boolean]
366
360
  #
367
- # @return [Boolean]
368
- #
369
361
  # @version LayOut 2018
370
362
  def preserve_scale_on_resize?
371
363
  end
@@ -441,8 +433,6 @@ class Layout::SketchUpModel < Layout::Entity
441
433
  #
442
434
  # @return [Boolean]
443
435
  #
444
- # @return [Boolean]
445
- #
446
436
  # @version LayOut 2018
447
437
  def render_needed?
448
438
  end
@@ -144,8 +144,6 @@ class Layout::Style
144
144
  #
145
145
  # @return [Boolean]
146
146
  #
147
- # @return [Boolean]
148
- #
149
147
  # @version LayOut 2018
150
148
  def self.arrow_type_filled?(arrow_type)
151
149
  end
@@ -78,8 +78,6 @@ class Sketchup::Behavior < Sketchup::Entity
78
78
  # the camera, false if the component is not set to always
79
79
  # face camera.
80
80
  #
81
- # @return [Boolean]
82
- #
83
81
  # @version SketchUp 6.0
84
82
  def always_face_camera?
85
83
  end
@@ -124,8 +122,6 @@ class Sketchup::Behavior < Sketchup::Entity
124
122
  # @return status - the status of the cuts_opening behavior
125
123
  # (either true or false)
126
124
  #
127
- # @return [Boolean]
128
- #
129
125
  # @version SketchUp 6.0
130
126
  def cuts_opening?
131
127
  end
@@ -169,8 +165,6 @@ class Sketchup::Behavior < Sketchup::Entity
169
165
  # @return status - the status of the 2D behavior (either true or
170
166
  # false)
171
167
  #
172
- # @return [Boolean]
173
- #
174
168
  # @version SketchUp 6.0
175
169
  def is2d?
176
170
  end
@@ -225,8 +219,6 @@ class Sketchup::Behavior < Sketchup::Entity
225
219
  # @return scale_mask - an integer describing which scale tool
226
220
  # handles are hidden.
227
221
  #
228
- # @return [Boolean]
229
- #
230
222
  # @version SketchUp 7.0
231
223
  def no_scale_mask?
232
224
  end
@@ -275,8 +267,6 @@ class Sketchup::Behavior < Sketchup::Entity
275
267
  # were facing the sun. False to cause the shadow to be
276
268
  # cast from the component's current position.
277
269
  #
278
- # @return [Boolean]
279
- #
280
270
  # @version SketchUp 6.0
281
271
  def shadows_face_sun?
282
272
  end
@@ -258,8 +258,6 @@ class Sketchup::Camera
258
258
  #
259
259
  # @return bool - true if vertical, false otherwise
260
260
  #
261
- # @return [Boolean]
262
- #
263
261
  # @version SketchUp 2015
264
262
  def fov_is_height?
265
263
  end
@@ -389,8 +387,6 @@ class Sketchup::Camera
389
387
  #
390
388
  # @return Boolean - true if camera is in 2d mode, false otherwise
391
389
  #
392
- # @return [Boolean]
393
- #
394
390
  # @version SketchUp 2015
395
391
  def is_2d?
396
392
  end
@@ -430,8 +426,6 @@ class Sketchup::Camera
430
426
  #
431
427
  # @return status - true if perspective, false if orthographic
432
428
  #
433
- # @return [Boolean]
434
- #
435
429
  # @version SketchUp 6.0
436
430
  def perspective?
437
431
  end
@@ -240,8 +240,6 @@ class Sketchup::ComponentDefinition < Sketchup::Drawingelement
240
240
  #
241
241
  # @return [Boolean]
242
242
  #
243
- # @return [Boolean]
244
- #
245
243
  # @version SketchUp 6.0
246
244
  def group?
247
245
  end
@@ -269,8 +267,6 @@ class Sketchup::ComponentDefinition < Sketchup::Drawingelement
269
267
  #
270
268
  # @return [Boolean]
271
269
  #
272
- # @return [Boolean]
273
- #
274
270
  # @version SketchUp 6.0
275
271
  def hidden?
276
272
  end
@@ -290,8 +286,6 @@ class Sketchup::ComponentDefinition < Sketchup::Drawingelement
290
286
  #
291
287
  # @return [Boolean]
292
288
  #
293
- # @return [Boolean]
294
- #
295
289
  # @version SketchUp 6.0
296
290
  def image?
297
291
  end
@@ -365,8 +359,6 @@ class Sketchup::ComponentDefinition < Sketchup::Drawingelement
365
359
  #
366
360
  # @return [Boolean]
367
361
  #
368
- # @return [Boolean]
369
- #
370
362
  # @version SketchUp 6.0
371
363
  def internal?
372
364
  end
@@ -100,8 +100,6 @@ class Sketchup::ComponentInstance < Sketchup::Drawingelement
100
100
  #
101
101
  # @return [Boolean]
102
102
  #
103
- # @return [Boolean]
104
- #
105
103
  # @version SketchUp 8.0
106
104
  def equals?(instance)
107
105
  end
@@ -260,8 +258,6 @@ class Sketchup::ComponentInstance < Sketchup::Drawingelement
260
258
  #
261
259
  # @return [Boolean]
262
260
  #
263
- # @return [Boolean]
264
- #
265
261
  # @version SketchUp 6.0
266
262
  def locked?
267
263
  end
@@ -300,8 +296,6 @@ class Sketchup::ComponentInstance < Sketchup::Drawingelement
300
296
  #
301
297
  # @return [Boolean]
302
298
  #
303
- # @return [Boolean]
304
- #
305
299
  # @version SketchUp 8.0
306
300
  def manifold?
307
301
  end
@@ -69,8 +69,6 @@ class Sketchup::Console
69
69
  #
70
70
  # @return true if visible, false if not.
71
71
  #
72
- # @return [Boolean]
73
- #
74
72
  # @version SketchUp 2014
75
73
  def visible?
76
74
  end
@@ -112,8 +112,6 @@ class Sketchup::Curve < Sketchup::Entity
112
112
  # @return True if this edge was originally created by the polygon
113
113
  # tool, otherwise false.
114
114
  #
115
- # @return [Boolean]
116
- #
117
115
  # @version SketchUp 7.1 M1
118
116
  def is_polygon?
119
117
  end
@@ -246,7 +246,7 @@ class Sketchup::DefinitionList < Sketchup::Entity
246
246
  # object if successful
247
247
  #
248
248
  # @version SketchUp 7.0
249
- def load_from_url(url, load_handler)
249
+ def load_from_url(url, load_handler = nil)
250
250
  end
251
251
 
252
252
  # The purge_unused method is used to remove the unused component definitions.
@@ -101,8 +101,6 @@ class Sketchup::Dimension < Sketchup::Drawingelement
101
101
  # @return status - true if text is aligned to the dimension.
102
102
  # False if dimension text is aligned to the screen.
103
103
  #
104
- # @return [Boolean]
105
- #
106
104
  # @version SketchUp 2014
107
105
  def has_aligned_text?
108
106
  end
@@ -87,8 +87,6 @@ class Sketchup::Drawingelement < Sketchup::Entity
87
87
  #
88
88
  # @return [Boolean]
89
89
  #
90
- # @return [Boolean]
91
- #
92
90
  # @version SketchUp 6.0
93
91
  def casts_shadows?
94
92
  end
@@ -166,8 +164,6 @@ class Sketchup::Drawingelement < Sketchup::Entity
166
164
  #
167
165
  # @return [Boolean]
168
166
  #
169
- # @return [Boolean]
170
- #
171
167
  # @version SketchUp 6.0
172
168
  def hidden?
173
169
  end
@@ -335,8 +331,6 @@ class Sketchup::Drawingelement < Sketchup::Entity
335
331
  #
336
332
  # @return [Boolean]
337
333
  #
338
- # @return [Boolean]
339
- #
340
334
  # @version SketchUp 6.0
341
335
  def receives_shadows?
342
336
  end
@@ -389,8 +383,6 @@ class Sketchup::Drawingelement < Sketchup::Entity
389
383
  #
390
384
  # @return [Boolean]
391
385
  #
392
- # @return [Boolean]
393
- #
394
386
  # @version SketchUp 6.0
395
387
  def visible?
396
388
  end
@@ -491,8 +491,6 @@ class Sketchup::Edge < Sketchup::Drawingelement
491
491
  #
492
492
  # @return [Boolean]
493
493
  #
494
- # @return [Boolean]
495
- #
496
494
  # @version SketchUp 6.0
497
495
  def used_by?(element)
498
496
  end
@@ -182,8 +182,6 @@ class Sketchup::EdgeUse < Sketchup::Entity
182
182
  #
183
183
  # @return boolean - true if reversed, false if not reversed.
184
184
  #
185
- # @return [Boolean]
186
- #
187
185
  # @version SketchUp 6.0
188
186
  def reversed?
189
187
  end
@@ -246,15 +246,18 @@ class Sketchup::Entities
246
246
  # entities = Sketchup.active_model.entities
247
247
  # curve = entities.add_curve [0,0,0], [0,10,0], [1,20,0]
248
248
  #
249
- # @param [Array<Geom::Point3d>] pts_or_array
250
- # You can pass either a series of Point3d objects or a
251
- # single array containing Point3d objects.
249
+ # @overload add_curve(points)
252
250
  #
253
- # @return [Array<Sketchup::Edge>] an array of Edges that make up the curve if
254
- # successful
251
+ # @param [Array<Geom::Point3d>] points
252
+ #
253
+ # @overload add_curve(*points)
254
+ #
255
+ # @param [Array<Geom::Point3d>] points
256
+ #
257
+ # @return [Array<Sketchup::Edge>]
255
258
  #
256
259
  # @version SketchUp 6.0
257
- def add_curve(pts_or_array)
260
+ def add_curve(*args)
258
261
  end
259
262
 
260
263
  # The {#add_dimension_linear} method adds a linear dimension to the entities.
@@ -428,12 +431,18 @@ class Sketchup::Entities
428
431
  # # Add the face to the entities in the model
429
432
  # face = entities.add_face(pts)
430
433
  #
431
- # @param [Array<Sketchup::Edge>, Array<Geom::Point3d>, Sketchup::Curve] some_entities
434
+ # @overload add_face(entities)
435
+ #
436
+ # @param [Array<Sketchup::Edge>, Array<Geom::Point3d>, Sketchup::Curve] entities
432
437
  #
433
- # @return [Sketchup::Face] a Face object if successful
438
+ # @overload add_face(*entities)
439
+ #
440
+ # @param [Array<Sketchup::Edge>, Array<Geom::Point3d>] entities
441
+ #
442
+ # @return [Sketchup::Face, nil]
434
443
  #
435
444
  # @version SketchUp 6.0
436
- def add_face(some_entities)
445
+ def add_face(*args)
437
446
  end
438
447
 
439
448
  # The {#add_faces_from_mesh} method is used to add Face objects to the
@@ -489,27 +498,29 @@ class Sketchup::Entities
489
498
  # The add_group method is used to create an empty group or a group with
490
499
  # entities.
491
500
  #
492
- # NOTE: calling add_group with entities in its parameters has been known to
493
- # crash SketchUp before version 8.0. It is preferable to create an empty
494
- # group and then add things to its Entities collection.
495
- #
496
501
  # @example
497
502
  # model = Sketchup.active_model
498
503
  # entities = model.active_entities
499
504
  # group = entities.add_group
500
- # if (group)
501
- # UI.messagebox group
502
- # else
503
- # UI.messagebox "Failure"
504
- # end
505
505
  #
506
- # @param [Array<Sketchup::Entity>] entities
507
- # an entities collection to add to the group.
506
+ # @note Calling add_group with entities in its parameters has been known to
507
+ # crash SketchUp before version 8.0. It is preferable to create an empty
508
+ # group and then add things to its Entities collection.
509
+ #
510
+ # @overload add_group(entities)
511
+ #
512
+ # @param [Array<Sketchup::Entity>] entities
513
+ # an entities collection to add to the group.
514
+ #
515
+ # @overload add_group(*entities)
508
516
  #
509
- # @return [Sketchup::Group] the new group
517
+ # @param [Array<Sketchup::Entity>] entities
518
+ # an entities collection to add to the group.
519
+ #
520
+ # @return [Sketchup::Group]
510
521
  #
511
522
  # @version SketchUp 6.0
512
- def add_group(entities)
523
+ def add_group(*args)
513
524
  end
514
525
 
515
526
  # The add_image method is used to add an image to the collection of entities.
@@ -541,12 +552,13 @@ class Sketchup::Entities
541
552
  #
542
553
  # @param [Numeric] height
543
554
  # height for the image if you want to control
544
- # width and height independently.
555
+ # width and height independently. Leave as default +0.0+ when you want it
556
+ # to be relative to the aspect ratio.
545
557
  #
546
- # @return [Sketchup::Image] an Image object if successful.
558
+ # @return [Sketchup::Image, nil] an Image object if successful.
547
559
  #
548
560
  # @version SketchUp 6.0
549
- def add_image(filename, point, width, height)
561
+ def add_image(filename, point, width, height = 0.0)
550
562
  end
551
563
 
552
564
  # The add_instance method adds a component instance to the collection of
@@ -833,13 +845,18 @@ class Sketchup::Entities
833
845
  # entities.erase_entities entities[1]
834
846
  # UI.messagebox entities
835
847
  #
836
- # @param [Array<Sketchup::Entity>] entities
837
- # An entity or array of entities.
848
+ # @overload erase_entities(entities)
849
+ #
850
+ # @param [Array<Sketchup::Entity>] entities
851
+ #
852
+ # @overload erase_entities(*entities)
853
+ #
854
+ # @param [Array<Sketchup::Entity>] entities
838
855
  #
839
856
  # @return [nil]
840
857
  #
841
858
  # @version SketchUp 6.0
842
- def erase_entities(entities)
859
+ def erase_entities(*args)
843
860
  end
844
861
 
845
862
  # The {#fill_from_mesh} method is used to add faces and edges to the collection