sketchup-api-stubs 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +5 -5
  2. data/.yardopts +7 -7
  3. data/SketchUp/Geom/BoundingBox.rb +7 -15
  4. data/SketchUp/Geom/Bounds2d.rb +18 -18
  5. data/SketchUp/Geom/LatLong.rb +6 -6
  6. data/SketchUp/Geom/OrientedBounds2d.rb +1 -1
  7. data/SketchUp/Geom/Point2d.rb +42 -6
  8. data/SketchUp/Geom/Point3d.rb +32 -21
  9. data/SketchUp/Geom/PolygonMesh.rb +22 -17
  10. data/SketchUp/Geom/Transformation.rb +35 -35
  11. data/SketchUp/Geom/Transformation2d.rb +153 -13
  12. data/SketchUp/Geom/UTM.rb +1 -1
  13. data/SketchUp/Geom/Vector2d.rb +45 -9
  14. data/SketchUp/Geom/Vector3d.rb +11 -11
  15. data/SketchUp/Layout.rb +1 -1
  16. data/SketchUp/Layout/AngularDimension.rb +25 -25
  17. data/SketchUp/Layout/AutoTextDefinition.rb +5 -5
  18. data/SketchUp/Layout/AutoTextDefinitions.rb +1 -1
  19. data/SketchUp/Layout/ConnectionPoint.rb +1 -1
  20. data/SketchUp/Layout/Document.rb +6 -5
  21. data/SketchUp/Layout/Ellipse.rb +1 -1
  22. data/SketchUp/Layout/Entities.rb +1 -1
  23. data/SketchUp/Layout/Entity.rb +16 -16
  24. data/SketchUp/Layout/FormattedText.rb +21 -21
  25. data/SketchUp/Layout/Grid.rb +1 -1
  26. data/SketchUp/Layout/Group.rb +18 -18
  27. data/SketchUp/Layout/Image.rb +6 -6
  28. data/SketchUp/Layout/Label.rb +15 -15
  29. data/SketchUp/Layout/Layer.rb +5 -5
  30. data/SketchUp/Layout/LayerInstance.rb +3 -3
  31. data/SketchUp/Layout/Layers.rb +1 -1
  32. data/SketchUp/Layout/LinearDimension.rb +25 -25
  33. data/SketchUp/Layout/LockedEntityError.rb +1 -1
  34. data/SketchUp/Layout/LockedLayerError.rb +1 -1
  35. data/SketchUp/Layout/Page.rb +3 -3
  36. data/SketchUp/Layout/PageInfo.rb +1 -1
  37. data/SketchUp/Layout/Pages.rb +1 -1
  38. data/SketchUp/Layout/Path.rb +47 -27
  39. data/SketchUp/Layout/Rectangle.rb +8 -8
  40. data/SketchUp/Layout/SketchUpModel.rb +61 -26
  41. data/SketchUp/Layout/Style.rb +18 -17
  42. data/SketchUp/Layout/Table.rb +14 -14
  43. data/SketchUp/Layout/TableCell.rb +5 -5
  44. data/SketchUp/Layout/TableColumn.rb +7 -7
  45. data/SketchUp/Layout/TableRow.rb +7 -7
  46. data/SketchUp/Sketchup/Animation.rb +1 -1
  47. data/SketchUp/Sketchup/AppObserver.rb +1 -1
  48. data/SketchUp/Sketchup/ArcCurve.rb +1 -1
  49. data/SketchUp/Sketchup/AttributeDictionaries.rb +1 -1
  50. data/SketchUp/Sketchup/AttributeDictionary.rb +7 -7
  51. data/SketchUp/Sketchup/Axes.rb +4 -4
  52. data/SketchUp/Sketchup/Behavior.rb +1 -1
  53. data/SketchUp/Sketchup/Camera.rb +30 -41
  54. data/SketchUp/Sketchup/ClassificationSchema.rb +1 -1
  55. data/SketchUp/Sketchup/Classifications.rb +1 -1
  56. data/SketchUp/Sketchup/Color.rb +1 -1
  57. data/SketchUp/Sketchup/ComponentDefinition.rb +3 -3
  58. data/SketchUp/Sketchup/ComponentInstance.rb +10 -10
  59. data/SketchUp/Sketchup/Console.rb +5 -5
  60. data/SketchUp/Sketchup/ConstructionLine.rb +11 -11
  61. data/SketchUp/Sketchup/ConstructionPoint.rb +1 -1
  62. data/SketchUp/Sketchup/Curve.rb +1 -1
  63. data/SketchUp/Sketchup/DefinitionList.rb +12 -9
  64. data/SketchUp/Sketchup/DefinitionObserver.rb +6 -7
  65. data/SketchUp/Sketchup/DefinitionsObserver.rb +3 -3
  66. data/SketchUp/Sketchup/Dimension.rb +1 -1
  67. data/SketchUp/Sketchup/DimensionLinear.rb +81 -1
  68. data/SketchUp/Sketchup/DimensionObserver.rb +1 -1
  69. data/SketchUp/Sketchup/DimensionRadial.rb +1 -1
  70. data/SketchUp/Sketchup/Drawingelement.rb +1 -1
  71. data/SketchUp/Sketchup/Edge.rb +13 -16
  72. data/SketchUp/Sketchup/EdgeUse.rb +1 -1
  73. data/SketchUp/Sketchup/Entities.rb +181 -100
  74. data/SketchUp/Sketchup/EntitiesObserver.rb +1 -1
  75. data/SketchUp/Sketchup/Entity.rb +29 -26
  76. data/SketchUp/Sketchup/EntityObserver.rb +1 -1
  77. data/SketchUp/Sketchup/ExtensionsManager.rb +1 -1
  78. data/SketchUp/Sketchup/Face.rb +7 -7
  79. data/SketchUp/Sketchup/FrameChangeObserver.rb +4 -4
  80. data/SketchUp/Sketchup/Group.rb +1 -1
  81. data/SketchUp/Sketchup/Http.rb +1 -1
  82. data/SketchUp/Sketchup/Http/Request.rb +3 -3
  83. data/SketchUp/Sketchup/Http/Response.rb +1 -1
  84. data/SketchUp/Sketchup/Image.rb +1 -1
  85. data/SketchUp/Sketchup/ImageRep.rb +16 -16
  86. data/SketchUp/Sketchup/Importer.rb +1 -1
  87. data/SketchUp/Sketchup/InputPoint.rb +8 -4
  88. data/SketchUp/Sketchup/InstanceObserver.rb +1 -1
  89. data/SketchUp/Sketchup/InstancePath.rb +15 -12
  90. data/SketchUp/Sketchup/Layer.rb +27 -1
  91. data/SketchUp/Sketchup/Layers.rb +1 -1
  92. data/SketchUp/Sketchup/LayersObserver.rb +1 -1
  93. data/SketchUp/Sketchup/Licensing.rb +1 -1
  94. data/SketchUp/Sketchup/Licensing/ExtensionLicense.rb +1 -1
  95. data/SketchUp/Sketchup/LineStyle.rb +24 -0
  96. data/SketchUp/Sketchup/LineStyles.rb +123 -0
  97. data/SketchUp/Sketchup/Loop.rb +1 -1
  98. data/SketchUp/Sketchup/Material.rb +16 -10
  99. data/SketchUp/Sketchup/Materials.rb +9 -1
  100. data/SketchUp/Sketchup/MaterialsObserver.rb +3 -3
  101. data/SketchUp/Sketchup/Menu.rb +1 -1
  102. data/SketchUp/Sketchup/Model.rb +47 -21
  103. data/SketchUp/Sketchup/ModelObserver.rb +3 -3
  104. data/SketchUp/Sketchup/OptionsManager.rb +1 -1
  105. data/SketchUp/Sketchup/OptionsProvider.rb +5 -5
  106. data/SketchUp/Sketchup/OptionsProviderObserver.rb +1 -1
  107. data/SketchUp/Sketchup/Page.rb +1 -1
  108. data/SketchUp/Sketchup/Pages.rb +13 -8
  109. data/SketchUp/Sketchup/PagesObserver.rb +1 -1
  110. data/SketchUp/Sketchup/PickHelper.rb +49 -50
  111. data/SketchUp/Sketchup/RegionalSettings.rb +1 -1
  112. data/SketchUp/Sketchup/RenderingOptions.rb +4 -4
  113. data/SketchUp/Sketchup/RenderingOptionsObserver.rb +3 -3
  114. data/SketchUp/Sketchup/SectionPlane.rb +1 -1
  115. data/SketchUp/Sketchup/Selection.rb +3 -3
  116. data/SketchUp/Sketchup/SelectionObserver.rb +3 -3
  117. data/SketchUp/Sketchup/Set.rb +1 -1
  118. data/SketchUp/Sketchup/ShadowInfo.rb +3 -3
  119. data/SketchUp/Sketchup/ShadowInfoObserver.rb +1 -1
  120. data/SketchUp/Sketchup/Style.rb +1 -1
  121. data/SketchUp/Sketchup/Styles.rb +1 -1
  122. data/SketchUp/Sketchup/Text.rb +28 -1
  123. data/SketchUp/Sketchup/Texture.rb +1 -1
  124. data/SketchUp/Sketchup/TextureWriter.rb +13 -13
  125. data/SketchUp/Sketchup/Tool.rb +68 -64
  126. data/SketchUp/Sketchup/Tools.rb +13 -1
  127. data/SketchUp/Sketchup/ToolsObserver.rb +13 -13
  128. data/SketchUp/Sketchup/UVHelper.rb +1 -1
  129. data/SketchUp/Sketchup/Vertex.rb +1 -1
  130. data/SketchUp/Sketchup/View.rb +57 -56
  131. data/SketchUp/Sketchup/ViewObserver.rb +2 -2
  132. data/SketchUp/UI/Command.rb +4 -1
  133. data/SketchUp/UI/HtmlDialog.rb +23 -14
  134. data/SketchUp/UI/Notification.rb +10 -10
  135. data/SketchUp/UI/Toolbar.rb +1 -1
  136. data/SketchUp/UI/WebDialog.rb +38 -20
  137. data/SketchUp/_top_level.rb +32 -34
  138. data/SketchUp/array.rb +125 -112
  139. data/SketchUp/geom.rb +2 -2
  140. data/SketchUp/languagehandler.rb +1 -1
  141. data/SketchUp/length.rb +1 -1
  142. data/SketchUp/numeric.rb +3 -3
  143. data/SketchUp/sketchup.rb +11 -11
  144. data/SketchUp/sketchupextension.rb +6 -2
  145. data/SketchUp/string.rb +1 -1
  146. data/SketchUp/ui.rb +14 -14
  147. data/autoload/sketchup.rb +2 -0
  148. metadata +5 -3
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # Class that references a {Layout::Document}'s grid settings.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A group is a special type of {Layout::Entity} that does not belong to a
@@ -47,19 +47,19 @@ class Layout::Group < Layout::Entity
47
47
  #
48
48
  # @raise [ArgumentError] if entities is empty.
49
49
  #
50
- # @raise [ArgumentError] if entities contains the same {Layout::Entity} more
51
- # than once
52
- #
53
- # @raise [ArgumentError] if entities contains {Layout::Entity}s on both shared
54
- # and non-shared {Layout::Layer}s, or on non-shared {Layout::Layer}s
55
- # belonging to different {Layout::Page}s
50
+ # @raise [ArgumentError] if entities contains {Layout::Entity}s that belong to
51
+ # different {Layout::Document}s
56
52
  #
57
53
  # @raise [ArgumentError] if entities contains a mix of {Layout::Entity}s that
58
54
  # belong to a {Layout::Document} and {Layout::Entity}s that don't belong to a
59
55
  # {Layout::Document}
60
56
  #
61
- # @raise [ArgumentError] if entities contains {Layout::Entity}s that belong to
62
- # different {Layout::Document}s
57
+ # @raise [ArgumentError] if entities contains {Layout::Entity}s on both shared
58
+ # and non-shared {Layout::Layer}s, or on non-shared {Layout::Layer}s
59
+ # belonging to different {Layout::Page}s
60
+ #
61
+ # @raise [ArgumentError] if entities contains the same {Layout::Entity} more
62
+ # than once
63
63
  #
64
64
  # @return [Layout::Group]
65
65
  #
@@ -84,10 +84,10 @@ class Layout::Group < Layout::Entity
84
84
  #
85
85
  # @raise [ArgumentError] if the {Layout::Group} does not have a scale factor
86
86
  #
87
- # @raise [Layout::LockedLayerError] if the {Layout::Group} is on a locked layer
88
- #
89
87
  # @raise [Layout::LockedEntityError] if the {Layout::Group} is locked
90
88
  #
89
+ # @raise [Layout::LockedLayerError] if the {Layout::Group} is on a locked layer
90
+ #
91
91
  # @version LayOut 2018
92
92
  def remove_scale_factor(resize_behavior)
93
93
  end
@@ -187,11 +187,11 @@ class Layout::Group < Layout::Entity
187
187
  #
188
188
  # @raise [ArgumentError] if the {Layout::Group} does not have a scale factor
189
189
  #
190
- # @raise [ArgumentError] if scale_units is not a valid value
190
+ # @raise [Layout::LockedEntityError] if the {Layout::Group} is locked
191
191
  #
192
192
  # @raise [Layout::LockedLayerError] if the {Layout::Group} is on a locked layer
193
193
  #
194
- # @raise [Layout::LockedEntityError] if the {Layout::Group} is locked
194
+ # @raise [ArgumentError] if scale_units is not a valid value
195
195
  #
196
196
  # @version LayOut 2018
197
197
  def scale_units=(units_format)
@@ -219,24 +219,24 @@ class Layout::Group < Layout::Entity
219
219
  # group = doc.shared_entities.first
220
220
  # group.set_scale_factor(2.0, Layout::Group::RESIZE_BEHAVIOR_BOUNDS)
221
221
  #
222
- # @param [Integer] units_format
223
- #
224
222
  # @param [Float] scale_factor
225
223
  #
224
+ # @param [Integer] units_format
225
+ #
226
226
  # @param [Integer] resize_behavior
227
227
  #
228
228
  # @raise [LockedLayerError] if the {Layout::Group} is on a locked
229
229
  # {Layout::Layer}
230
230
  #
231
- # @raise [ArgumentError] if a scale factor cannot be set for the
232
- # {Layout::Group}
231
+ # @raise [LockedEntityError] if the {Layout::Group} is locked
233
232
  #
234
233
  # @raise [ArgumentError] if scale_factor is an invalid value
235
234
  #
236
235
  # @raise [ArgumentError] if the {Layout::Group} cannot be assigned a scale
237
236
  # factor because it is already inheriting a scale factor from its parent
238
237
  #
239
- # @raise [LockedEntityError] if the {Layout::Group} is locked
238
+ # @raise [ArgumentError] if a scale factor cannot be set for the
239
+ # {Layout::Group}
240
240
  #
241
241
  # @version LayOut 2018
242
242
  def set_scale_factor(scale_factor, units_format, resize_behavior)
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A raster image entity.
@@ -48,12 +48,12 @@ class Layout::Image < Layout::Entity
48
48
  #
49
49
  # @raise [ArgumentError] if clip mask is already in a document
50
50
  #
51
- # @raise [LockedEntityError] if the {Layout::Image} is locked
51
+ # @raise [ArgumentError] if clip mask is not a {Layout::Path},
52
+ # {Layout::Rectangle}, or {Layout::Ellipse}
52
53
  #
53
54
  # @raise [LockedLayerError] if the {Layout::Image} is on a locked {Layout::Layer}
54
55
  #
55
- # @raise [ArgumentError] if clip mask is not a {Layout::Path},
56
- # {Layout::Rectangle}, or {Layout::Ellipse}
56
+ # @raise [LockedEntityError] if the {Layout::Image} is locked
57
57
  #
58
58
  # @version LayOut 2018
59
59
  def clip_mask=(clip_mask)
@@ -72,11 +72,11 @@ class Layout::Image < Layout::Entity
72
72
  #
73
73
  # @raise [ArgumentError] if bounds are zero size
74
74
  #
75
- # @raise [RuntimeError] if there was an error allocating memory for the image
76
- #
77
75
  # @raise [ArgumentError] if there was an error reading the image file, such as
78
76
  # the file name being invalid
79
77
  #
78
+ # @raise [RuntimeError] if there was an error allocating memory for the image
79
+ #
80
80
  # @return [Layout::Image]
81
81
  #
82
82
  # @version LayOut 2018
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is an interface to a label entity. A {Layout::Label} consists of a
@@ -57,14 +57,14 @@ class Layout::Label < Layout::Entity
57
57
  # @raise [LockedLayerError] if the {Layout::Label} is on a locked
58
58
  # {Layout::Layer}
59
59
  #
60
- # @raise [ArgumentError] if both the {Layout::Label} and the
61
- # {Layout::ConnectionPoint} are on non-shared {Layout::Layers}, but are not
62
- # on the same {Layout::Page}.
60
+ # @raise [LockedEntityError] if the {Layout::Label} is locked
63
61
  #
64
62
  # @raise [ArgumentError] if the {Layout::Label} is not in the same
65
63
  # {Layout::Document} as the {Layout::ConnectionPoint}
66
64
  #
67
- # @raise [LockedEntityError] if the {Layout::Label} is locked
65
+ # @raise [ArgumentError] if both the {Layout::Label} and the
66
+ # {Layout::ConnectionPoint} are on non-shared {Layout::Layers}, but are not
67
+ # on the same {Layout::Page}.
68
68
  #
69
69
  # @version LayOut 2018
70
70
  def connect(connection_point)
@@ -127,11 +127,11 @@ class Layout::Label < Layout::Entity
127
127
  # @raise [LockedLayerError] if the {Layout::Label} is on a locked
128
128
  # {Layout::Layer}
129
129
  #
130
+ # @raise [LockedEntityError] if the {Layout::Label} is locked
131
+ #
130
132
  # @raise [ArgumentError] if the connection_type is not a valid text connection
131
133
  # type
132
134
  #
133
- # @raise [LockedEntityError] if the {Layout::Label} is locked
134
- #
135
135
  # @version LayOut 2018
136
136
  def connection_type=(connection_type)
137
137
  end
@@ -219,11 +219,11 @@ class Layout::Label < Layout::Entity
219
219
  #
220
220
  # @raise [ArgumentError] if anchor_type is not a valid anchor type
221
221
  #
222
- # @raise [ArgumentError] if plain_text is an empty string
222
+ # @raise [ArgumentError] if leader_type is not a valid leader line type
223
223
  #
224
224
  # @raise [ArgumentError] if bounds is zero size
225
225
  #
226
- # @raise [ArgumentError] if leader_type is not a valid leader line type
226
+ # @raise [ArgumentError] if plain_text is an empty string
227
227
  #
228
228
  # @version LayOut 2018
229
229
  def initialize(*args)
@@ -260,11 +260,11 @@ class Layout::Label < Layout::Entity
260
260
  #
261
261
  # @param [Layout::Path] leader_path
262
262
  #
263
- # @raise [LockedEntityError] if the {Layout::Label} is locked
264
- #
265
263
  # @raise [LockedLayerError] if the {Layout::Label} is on a locked
266
264
  # {Layout::Layer}
267
265
  #
266
+ # @raise [LockedEntityError] if the {Layout::Label} is locked
267
+ #
268
268
  # @version LayOut 2018
269
269
  def leader_line=(leader_path)
270
270
  end
@@ -316,11 +316,11 @@ class Layout::Label < Layout::Entity
316
316
  # @raise [LockedLayerError] if the {Layout::Label} is on a locked
317
317
  # {Layout::Layer}
318
318
  #
319
+ # @raise [LockedEntityError] if the {Layout::Label} is locked
320
+ #
319
321
  # @raise [ArgumentError] if leader_type is
320
322
  # +Layout::Label::LEADER_LINE_TYPE_UNKNOWN+ or not a valid leader line type
321
323
  #
322
- # @raise [LockedEntityError] if the {Layout::Label} is locked
323
- #
324
324
  # @version LayOut 2018
325
325
  def leader_line_type=(leader_type)
326
326
  end
@@ -359,11 +359,11 @@ class Layout::Label < Layout::Entity
359
359
  #
360
360
  # @param [Layout::FormattedText] new_text
361
361
  #
362
- # @raise [LockedEntityError] if the {Layout::Label} is locked
363
- #
364
362
  # @raise [LockedLayerError] if the {Layout::Label} is on a locked
365
363
  # {Layout::Layer}
366
364
  #
365
+ # @raise [LockedEntityError] if the {Layout::Label} is locked
366
+ #
367
367
  # @version LayOut 2018
368
368
  def text=(new_text)
369
369
  end
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is the interface to a LayOut Layer Definition. A layer definition
@@ -167,10 +167,10 @@ class Layout::Layer
167
167
  # The share action that specifies what to do
168
168
  # with {Layout::Entity}s after the {Layout::Layer} is non-shared.
169
169
  #
170
- # @raise [ArgumentError] if unshare_action is not a valid value
171
- #
172
170
  # @raise [LockedLayerError] if the {Layout::Layer} is locked
173
171
  #
172
+ # @raise [ArgumentError] if unshare_action is not a valid value
173
+ #
174
174
  # @version LayOut 2018
175
175
  def set_nonshared(page, unshare_action)
176
176
  end
@@ -196,10 +196,10 @@ class Layout::Layer
196
196
  # The share action that specifies what to do with
197
197
  # {Layout::Entity}s after the {Layout::Layer} is shared.
198
198
  #
199
- # @raise [ArgumentError] if share_action is not a valid value
200
- #
201
199
  # @raise [Layout::LockedLayerError] if the {Layout::Layer} is locked
202
200
  #
201
+ # @raise [ArgumentError] if share_action is not a valid value
202
+ #
203
203
  # @version LayOut 2018
204
204
  def set_shared(page, share_action)
205
205
  end
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References an instance of a {Layout::Layer}. A {Layout::LayerInstance}
@@ -117,10 +117,10 @@ class Layout::LayerInstance
117
117
  # @param [Integer] index
118
118
  # The desired index of the {Layout::Entity}
119
119
  #
120
- # @raise [IndexError] if index is out of range
121
- #
122
120
  # @raise [ArgumentError] if entity is not on the {Layout::LayerInstance}
123
121
  #
122
+ # @raise [IndexError] if index is out of range
123
+ #
124
124
  # @version LayOut 2018
125
125
  def reorder_entity(entity, index)
126
126
  end
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Layers class is a container class for all layers in a {Layout::Document}.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2017 Trimble Inc.
1
+ # Copyright:: Copyright 2019 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References a linear dimension entity. A {Layout::LinearDimension} is composed
@@ -41,11 +41,11 @@ class Layout::LinearDimension < Layout::Entity
41
41
  #
42
42
  # @param [Boolean] uses_auto_scale
43
43
  #
44
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
45
- #
46
44
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
47
45
  # {Layout::Layer}
48
46
  #
47
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
48
+ #
49
49
  # @version LayOut 2018
50
50
  def auto_scale=(uses_auto_scale)
51
51
  end
@@ -89,11 +89,11 @@ class Layout::LinearDimension < Layout::Entity
89
89
  #
90
90
  # @param [Layout::ConnectionPoint] end_connection
91
91
  #
92
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
93
- #
94
92
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
95
93
  # {Layout::Layer}
96
94
  #
95
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
96
+ #
97
97
  # @version LayOut 2018
98
98
  def connect(start_connection, end_connection)
99
99
  end
@@ -112,11 +112,11 @@ class Layout::LinearDimension < Layout::Entity
112
112
  #
113
113
  # @param [Boolean] uses_custom_text
114
114
  #
115
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
116
- #
117
115
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
118
116
  # {Layout::Layer}
119
117
  #
118
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
119
+ #
120
120
  # @version LayOut 2018
121
121
  def custom_text=(uses_custom_text)
122
122
  end
@@ -188,11 +188,11 @@ class Layout::LinearDimension < Layout::Entity
188
188
  #
189
189
  # @param [Geom::Point2d] end_point
190
190
  #
191
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
192
- #
193
191
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
194
192
  # {Layout::Layer}
195
193
  #
194
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
195
+ #
196
196
  # @version LayOut 2018
197
197
  def end_connection_point=(end_point)
198
198
  end
@@ -226,11 +226,11 @@ class Layout::LinearDimension < Layout::Entity
226
226
  #
227
227
  # @param [Geom::Point2d] end_extent
228
228
  #
229
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
230
- #
231
229
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
232
230
  # {Layout::Layer}
233
231
  #
232
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
233
+ #
234
234
  # @version LayOut 2018
235
235
  def end_extent_point=(end_extent)
236
236
  end
@@ -249,11 +249,11 @@ class Layout::LinearDimension < Layout::Entity
249
249
  #
250
250
  # @param [Numeric] offset_length
251
251
  #
252
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
253
- #
254
252
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
255
253
  # {Layout::Layer}
256
254
  #
255
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
256
+ #
257
257
  # @version LayOut 2018
258
258
  def end_offset_length=(offset_length)
259
259
  end
@@ -359,11 +359,11 @@ class Layout::LinearDimension < Layout::Entity
359
359
  #
360
360
  # @raise [ArgumentError] if leader_line_type is not a valid leader line type
361
361
  #
362
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
363
- #
364
362
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
365
363
  # {Layout::Layer}
366
364
  #
365
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
366
+ #
367
367
  # @version LayOut 2018
368
368
  def leader_line_type=(type)
369
369
  end
@@ -399,10 +399,10 @@ class Layout::LinearDimension < Layout::Entity
399
399
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
400
400
  # {Layout::Layer}
401
401
  #
402
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
403
- #
404
402
  # @raise [ArgumentError] if scale is negative, or greater than 1.0
405
403
  #
404
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
405
+ #
406
406
  # @version LayOut 2018
407
407
  def scale=(scale)
408
408
  end
@@ -435,11 +435,11 @@ class Layout::LinearDimension < Layout::Entity
435
435
  #
436
436
  # @param [Geom::Point2d] start_point
437
437
  #
438
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
439
- #
440
438
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
441
439
  # {Layout::Layer}
442
440
  #
441
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
442
+ #
443
443
  # @version LayOut 2018
444
444
  def start_connection_point=(start_point)
445
445
  end
@@ -473,11 +473,11 @@ class Layout::LinearDimension < Layout::Entity
473
473
  #
474
474
  # @param [Geom::Point2d] start_extent
475
475
  #
476
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
477
- #
478
476
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
479
477
  # {Layout::Layer}
480
478
  #
479
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
480
+ #
481
481
  # @version LayOut 2018
482
482
  def start_extent_point=(start_extent)
483
483
  end
@@ -496,11 +496,11 @@ class Layout::LinearDimension < Layout::Entity
496
496
  #
497
497
  # @param [Numeric] offset_length
498
498
  #
499
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
500
- #
501
499
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
502
500
  # {Layout::Layer}
503
501
  #
502
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
503
+ #
504
504
  # @version LayOut 2018
505
505
  def start_offset_length=(offset_length)
506
506
  end
@@ -551,11 +551,11 @@ class Layout::LinearDimension < Layout::Entity
551
551
  #
552
552
  # @param [Layout::FormattedText] formatted_text
553
553
  #
554
- # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
555
- #
556
554
  # @raise [LockedLayerError] if the {Layout::LinearDimension} is on a locked
557
555
  # {Layout::Layer}
558
556
  #
557
+ # @raise [LockedEntityError] if the {Layout::LinearDimension} is locked
558
+ #
559
559
  # @version LayOut 2018
560
560
  def text=(formatted_text)
561
561
  end