scriptup 2026.0.0 → 2026.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +43 -24
- data/ext/arc_curve.c +50 -0
- data/ext/attribute_dictionaries.c +49 -32
- data/ext/attribute_dictionary.c +54 -127
- data/ext/axes.c +79 -0
- data/ext/behavior.c +100 -9
- data/ext/bounding_box.c +195 -0
- data/ext/camera.c +178 -0
- data/ext/classifications.c +85 -0
- data/ext/color.c +91 -163
- data/ext/component_definition.c +78 -162
- data/ext/component_instance.c +88 -9
- data/ext/construction.c +59 -0
- data/ext/curve.c +87 -0
- data/ext/definition_list.c +89 -109
- data/ext/depend +1 -0
- data/ext/drawing_element.c +96 -117
- data/ext/edge.c +147 -0
- data/ext/edge_use.c +37 -0
- data/ext/entities.c +573 -16
- data/ext/entities_builder.c +145 -0
- data/ext/entity.c +175 -212
- data/ext/environments.c +149 -0
- data/ext/extconf.rb +54 -10
- data/ext/face.c +331 -0
- data/ext/geom.c +172 -0
- data/ext/group.c +86 -0
- data/ext/helpers.c +244 -0
- data/ext/image.c +182 -0
- data/ext/image_rep.c +158 -0
- data/ext/instance_path.c +185 -0
- data/ext/lat_long.c +88 -0
- data/ext/layer.c +98 -0
- data/ext/layer_folder.c +99 -0
- data/ext/layers.c +122 -0
- data/ext/length.c +253 -0
- data/ext/line_styles.c +60 -0
- data/ext/loop.c +24 -0
- data/ext/material.c +144 -197
- data/ext/materials.c +49 -60
- data/ext/model.c +232 -26
- data/ext/options_store.c +188 -0
- data/ext/page.c +168 -0
- data/ext/pages.c +135 -0
- data/ext/point2d.c +195 -0
- data/ext/point3d.c +340 -0
- data/ext/polygon_mesh.c +253 -0
- data/ext/scriptup.h +279 -0
- data/ext/section_plane.c +44 -0
- data/ext/sketchup.c +102 -76
- data/ext/styles.c +91 -0
- data/ext/text.c +135 -0
- data/ext/texture.c +74 -83
- data/ext/texture_writer.c +104 -0
- data/ext/transformation.c +309 -0
- data/ext/transformation2d.c +190 -0
- data/ext/uv_helper.c +41 -0
- data/ext/vector2d.c +238 -0
- data/ext/vector3d.c +294 -0
- data/ext/vertex.c +67 -0
- data/lib/sketchup.rb +2 -2
- data/sig/_top_level.rbs +188 -0
- data/sig/array.rbs +52 -0
- data/sig/geom/bounding_box.rbs +28 -0
- data/sig/geom/bounds2d.rbs +20 -0
- data/sig/geom/lat_long.rbs +13 -0
- data/sig/geom/oriented_bounds2d.rbs +10 -0
- data/sig/geom/point2d.rbs +32 -0
- data/sig/geom/point3d.rbs +46 -0
- data/sig/geom/polygon_mesh.rbs +35 -0
- data/sig/geom/transformation.rbs +44 -0
- data/sig/geom/transformation2d.rbs +26 -0
- data/sig/geom/utm.rbs +14 -0
- data/sig/geom/vector2d.rbs +40 -0
- data/sig/geom/vector3d.rbs +49 -0
- data/sig/geom.rbs +25 -0
- data/sig/language_handler.rbs +8 -0
- data/sig/layout/angular_dimension.rbs +32 -0
- data/sig/layout/auto_text_definition.rbs +73 -0
- data/sig/layout/auto_text_definitions.rbs +15 -0
- data/sig/layout/connection_point.rbs +6 -0
- data/sig/layout/dictionary.rbs +18 -0
- data/sig/layout/document.rbs +61 -0
- data/sig/layout/ellipse.rbs +5 -0
- data/sig/layout/entities.rbs +10 -0
- data/sig/layout/entity.rbs +28 -0
- data/sig/layout/formatted_text.rbs +30 -0
- data/sig/layout/grid.rbs +24 -0
- data/sig/layout/group.rbs +17 -0
- data/sig/layout/image.rbs +7 -0
- data/sig/layout/label.rbs +31 -0
- data/sig/layout/layer.rbs +21 -0
- data/sig/layout/layer_instance.rbs +9 -0
- data/sig/layout/layers.rbs +18 -0
- data/sig/layout/linear_dimension.rbs +39 -0
- data/sig/layout/locked_entity_error.rbs +4 -0
- data/sig/layout/locked_layer_error.rbs +4 -0
- data/sig/layout/page.rbs +20 -0
- data/sig/layout/page_info.rbs +37 -0
- data/sig/layout/pages.rbs +17 -0
- data/sig/layout/path.rbs +34 -0
- data/sig/layout/rectangle.rbs +15 -0
- data/sig/layout/reference_entity.rbs +7 -0
- data/sig/layout/sketch_up_model.rbs +54 -0
- data/sig/layout/style.rbs +150 -0
- data/sig/layout/table.rbs +17 -0
- data/sig/layout/table_cell.rbs +13 -0
- data/sig/layout/table_column.rbs +10 -0
- data/sig/layout/table_row.rbs +10 -0
- data/sig/layout.rbs +4 -0
- data/sig/length.rbs +37 -0
- data/sig/numeric.rbs +23 -0
- data/sig/sketchup/animation.rbs +8 -0
- data/sig/sketchup/app_observer.rbs +11 -0
- data/sig/sketchup/arc_curve.rbs +14 -0
- data/sig/sketchup/attribute_dictionaries.rbs +11 -0
- data/sig/sketchup/attribute_dictionary.rbs +18 -0
- data/sig/sketchup/axes.rbs +13 -0
- data/sig/sketchup/behavior.rbs +19 -0
- data/sig/sketchup/camera.rbs +33 -0
- data/sig/sketchup/classification_schema.rbs +8 -0
- data/sig/sketchup/classifications.rbs +12 -0
- data/sig/sketchup/color.rbs +22 -0
- data/sig/sketchup/component_definition.rbs +43 -0
- data/sig/sketchup/component_instance.rbs +32 -0
- data/sig/sketchup/console.rbs +8 -0
- data/sig/sketchup/construction_line.rbs +17 -0
- data/sig/sketchup/construction_point.rbs +5 -0
- data/sig/sketchup/curve.rbs +13 -0
- data/sig/sketchup/definition_list.rbs +26 -0
- data/sig/sketchup/definition_observer.rbs +6 -0
- data/sig/sketchup/definitions_observer.rbs +8 -0
- data/sig/sketchup/dimension.rbs +18 -0
- data/sig/sketchup/dimension_linear.rbs +24 -0
- data/sig/sketchup/dimension_observer.rbs +5 -0
- data/sig/sketchup/dimension_radial.rbs +9 -0
- data/sig/sketchup/drawingelement.rbs +18 -0
- data/sig/sketchup/edge.rbs +24 -0
- data/sig/sketchup/edge_use.rbs +13 -0
- data/sig/sketchup/entities.rbs +61 -0
- data/sig/sketchup/entities_builder.rbs +15 -0
- data/sig/sketchup/entities_observer.rbs +9 -0
- data/sig/sketchup/entity.rbs +21 -0
- data/sig/sketchup/entity_observer.rbs +6 -0
- data/sig/sketchup/environment.rbs +25 -0
- data/sig/sketchup/environments.rbs +18 -0
- data/sig/sketchup/environments_observer.rbs +8 -0
- data/sig/sketchup/extensions_manager.rbs +11 -0
- data/sig/sketchup/face.rbs +44 -0
- data/sig/sketchup/frame_change_observer.rbs +5 -0
- data/sig/sketchup/group.rbs +38 -0
- data/sig/sketchup/http/request.rbs +17 -0
- data/sig/sketchup/http/response.rbs +7 -0
- data/sig/sketchup/http.rbs +27 -0
- data/sig/sketchup/image.rbs +23 -0
- data/sig/sketchup/image_rep.rbs +17 -0
- data/sig/sketchup/importer.rbs +14 -0
- data/sig/sketchup/input_point.rbs +25 -0
- data/sig/sketchup/instance_observer.rbs +6 -0
- data/sig/sketchup/instance_path.rbs +20 -0
- data/sig/sketchup/layer.rbs +20 -0
- data/sig/sketchup/layer_folder.rbs +26 -0
- data/sig/sketchup/layers.rbs +30 -0
- data/sig/sketchup/layers_observer.rbs +13 -0
- data/sig/sketchup/licensing/extension_license.rbs +8 -0
- data/sig/sketchup/licensing.rbs +15 -0
- data/sig/sketchup/line_style.rbs +5 -0
- data/sig/sketchup/line_styles.rbs +13 -0
- data/sig/sketchup/load_handler.rbs +8 -0
- data/sig/sketchup/loop.rbs +10 -0
- data/sig/sketchup/material.rbs +74 -0
- data/sig/sketchup/materials.rbs +22 -0
- data/sig/sketchup/materials_observer.rbs +10 -0
- data/sig/sketchup/menu.rbs +9 -0
- data/sig/sketchup/model.rbs +105 -0
- data/sig/sketchup/model_observer.rbs +23 -0
- data/sig/sketchup/options_manager.rbs +12 -0
- data/sig/sketchup/options_provider.rbs +23 -0
- data/sig/sketchup/options_provider_observer.rbs +5 -0
- data/sig/sketchup/overlay.rbs +21 -0
- data/sig/sketchup/overlays_manager.rbs +10 -0
- data/sig/sketchup/page.rbs +55 -0
- data/sig/sketchup/pages.rbs +25 -0
- data/sig/sketchup/pages_observer.rbs +7 -0
- data/sig/sketchup/pick_helper.rbs +28 -0
- data/sig/sketchup/regional_settings.rbs +7 -0
- data/sig/sketchup/rendering_options.rbs +89 -0
- data/sig/sketchup/rendering_options_observer.rbs +5 -0
- data/sig/sketchup/section_plane.rbs +12 -0
- data/sig/sketchup/selection.rbs +31 -0
- data/sig/sketchup/selection_observer.rbs +8 -0
- data/sig/sketchup/set.rbs +15 -0
- data/sig/sketchup/shadow_info.rbs +18 -0
- data/sig/sketchup/shadow_info_observer.rbs +5 -0
- data/sig/sketchup/skp.rbs +5 -0
- data/sig/sketchup/snap.rbs +10 -0
- data/sig/sketchup/style.rbs +9 -0
- data/sig/sketchup/styles.rbs +21 -0
- data/sig/sketchup/text.rbs +22 -0
- data/sig/sketchup/texture.rbs +14 -0
- data/sig/sketchup/texture_writer.rbs +14 -0
- data/sig/sketchup/tool.rbs +45 -0
- data/sig/sketchup/tools.rbs +14 -0
- data/sig/sketchup/tools_observer.rbs +6 -0
- data/sig/sketchup/uv_helper.rbs +6 -0
- data/sig/sketchup/vertex.rbs +11 -0
- data/sig/sketchup/view.rbs +87 -0
- data/sig/sketchup/view_observer.rbs +6 -0
- data/sig/sketchup.rbs +137 -0
- data/sig/sketchup_extension.rbs +23 -0
- data/sig/string.rbs +5 -0
- data/sig/ui/command.rbs +20 -0
- data/sig/ui/html_dialog.rbs +29 -0
- data/sig/ui/notification.rbs +16 -0
- data/sig/ui/toolbar.rbs +18 -0
- data/sig/ui/web_dialog.rbs +38 -0
- data/sig/ui.rbs +66 -0
- metadata +204 -275
- data/ext/attribute_dictionaries.h +0 -8
- data/ext/attribute_dictionary.h +0 -8
- data/ext/behavior.h +0 -8
- data/ext/color.h +0 -8
- data/ext/component_definition.h +0 -8
- data/ext/component_instance.h +0 -8
- data/ext/definition_list.h +0 -8
- data/ext/drawing_element.h +0 -8
- data/ext/entities.h +0 -8
- data/ext/entity.h +0 -8
- data/ext/material.h +0 -8
- data/ext/materials.h +0 -8
- data/ext/model.h +0 -8
- data/ext/not_implemented.c +0 -88
- data/ext/not_implemented.h +0 -20
- data/ext/sketchup.h +0 -9
- data/ext/texture.h +0 -8
- data/ext/typed_value.c +0 -84
- data/ext/typed_value.h +0 -11
- data/ext/utils.h +0 -111
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/application.h +0 -36
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/model.h +0 -59
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/overlay.h +0 -248
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/ruby_api.h +0 -118
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/color.h +0 -107
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/common.h +0 -178
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/defs.h +0 -19
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/extension_license.h +0 -62
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/plane3d.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point2d.h +0 -96
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point3d.h +0 -98
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/ray3d.h +0 -64
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation.h +0 -321
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector2d.h +0 -235
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector3d.h +0 -285
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry.h +0 -152
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelimporterplugin.h +0 -183
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/initialize.h +0 -43
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/length_formatter.h +0 -424
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arccurve.h +0 -244
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arrow_type.h +0 -17
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/axes.h +0 -242
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/camera.h +0 -398
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_attribute.h +0 -89
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_info.h +0 -125
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classifications.h +0 -86
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition.h +0 -588
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_instance.h +0 -344
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/curve.h +0 -143
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/defs.h +0 -142
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -222
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_linear.h +0 -421
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_radial.h +0 -194
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_style.h +0 -253
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/drawing_element.h +0 -198
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge.h +0 -271
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge_use.h +0 -214
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entities.h +0 -834
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -186
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list.h +0 -80
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/face.h +0 -686
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/font.h +0 -138
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry.h +0 -20
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry_input.h +0 -685
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -244
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_line.h +0 -155
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_point.h +0 -153
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image.h +0 -288
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image_rep.h +0 -275
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/instancepath.h +0 -266
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer.h +0 -265
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer_folder.h +0 -301
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_style.h +0 -211
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_styles.h +0 -81
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/location.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/loop.h +0 -182
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/material.h +0 -390
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/mesh_helper.h +0 -187
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model.h +0 -1663
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_version.h +0 -49
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/opening.h +0 -72
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_manager.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_provider.h +0 -166
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/polyline3d.h +0 -140
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/rendering_options.h +0 -179
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -836
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema.h +0 -56
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema_type.h +0 -26
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/section_plane.h +0 -212
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/selection.h +0 -156
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/shadow_info.h +0 -147
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/skp.h +0 -45
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/style.h +0 -303
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -190
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -384
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -358
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture_writer.h +0 -280
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/typed_value.h +0 -390
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/uv_helper.h +0 -79
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/vertex.h +0 -154
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup.h +0 -122
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup_info.h +0 -65
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/slapi.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/transformation.h +0 -16
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/unicodestring.h +0 -239
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/utils/math_helpers.h +0 -124
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonGeometry.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonGeoutils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonImage.dylib +0 -4
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonPreferences.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonUnits.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonUtils.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonZip.dylib +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Resources/Info.plist +0 -50
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/SketchUpAPI +0 -0
- data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/_CodeSignature/CodeResources +0 -835
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.lib +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpCommonPreferences.dll +0 -0
- data/sketchup-sdk-win/binaries/sketchup/x64/sketchup.lib +0 -0
- data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/common.h +0 -22
- data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +0 -36
- data/sketchup-sdk-win/headers/LayOutAPI/layout.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +0 -468
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +0 -569
- data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +0 -79
- data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +0 -107
- data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +0 -42
- data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +0 -864
- data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -59
- data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
- data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -330
- data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +0 -49
- data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +0 -114
- data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +0 -397
- data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +0 -251
- data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +0 -243
- data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +0 -146
- data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +0 -109
- data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +0 -332
- data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +0 -207
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +0 -117
- data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +0 -69
- data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +0 -456
- data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -261
- data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +0 -372
- data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +0 -81
- data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +0 -464
- data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +0 -240
- data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +0 -120
- data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +0 -624
- data/sketchup-sdk-win/headers/LayOutAPI/model/skpfilereference.h +0 -94
- data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1080
- data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -470
- data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -156
- data/sketchup-sdk-win/headers/SketchUpAPI/application/application.h +0 -36
- data/sketchup-sdk-win/headers/SketchUpAPI/application/model.h +0 -59
- data/sketchup-sdk-win/headers/SketchUpAPI/application/overlay.h +0 -248
- data/sketchup-sdk-win/headers/SketchUpAPI/application/ruby_api.h +0 -118
- data/sketchup-sdk-win/headers/SketchUpAPI/color.h +0 -107
- data/sketchup-sdk-win/headers/SketchUpAPI/common.h +0 -178
- data/sketchup-sdk-win/headers/SketchUpAPI/defs.h +0 -19
- data/sketchup-sdk-win/headers/SketchUpAPI/extension_license.h +0 -62
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/bounding_box.h +0 -34
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/plane3d.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point2d.h +0 -96
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point3d.h +0 -98
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/ray3d.h +0 -64
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation.h +0 -321
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation2d.h +0 -163
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector2d.h +0 -235
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector3d.h +0 -285
- data/sketchup-sdk-win/headers/SketchUpAPI/geometry.h +0 -152
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -183
- data/sketchup-sdk-win/headers/SketchUpAPI/import_export/pluginprogresscallback.h +0 -84
- data/sketchup-sdk-win/headers/SketchUpAPI/initialize.h +0 -43
- data/sketchup-sdk-win/headers/SketchUpAPI/length_formatter.h +0 -424
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arccurve.h +0 -244
- data/sketchup-sdk-win/headers/SketchUpAPI/model/arrow_type.h +0 -17
- data/sketchup-sdk-win/headers/SketchUpAPI/model/attribute_dictionary.h +0 -161
- data/sketchup-sdk-win/headers/SketchUpAPI/model/axes.h +0 -242
- data/sketchup-sdk-win/headers/SketchUpAPI/model/camera.h +0 -398
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_attribute.h +0 -89
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_info.h +0 -125
- data/sketchup-sdk-win/headers/SketchUpAPI/model/classifications.h +0 -86
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition.h +0 -588
- data/sketchup-sdk-win/headers/SketchUpAPI/model/component_instance.h +0 -344
- data/sketchup-sdk-win/headers/SketchUpAPI/model/curve.h +0 -143
- data/sketchup-sdk-win/headers/SketchUpAPI/model/defs.h +0 -142
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -222
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_linear.h +0 -421
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_radial.h +0 -194
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_style.h +0 -253
- data/sketchup-sdk-win/headers/SketchUpAPI/model/drawing_element.h +0 -198
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_attribute.h +0 -92
- data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_info.h +0 -70
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge.h +0 -271
- data/sketchup-sdk-win/headers/SketchUpAPI/model/edge_use.h +0 -214
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entities.h +0 -834
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -186
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list.h +0 -80
- data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list_iterator.h +0 -90
- data/sketchup-sdk-win/headers/SketchUpAPI/model/face.h +0 -686
- data/sketchup-sdk-win/headers/SketchUpAPI/model/font.h +0 -138
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry.h +0 -20
- data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry_input.h +0 -685
- data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -244
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_line.h +0 -155
- data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_point.h +0 -153
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image.h +0 -288
- data/sketchup-sdk-win/headers/SketchUpAPI/model/image_rep.h +0 -275
- data/sketchup-sdk-win/headers/SketchUpAPI/model/instancepath.h +0 -266
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer.h +0 -265
- data/sketchup-sdk-win/headers/SketchUpAPI/model/layer_folder.h +0 -301
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_style.h +0 -211
- data/sketchup-sdk-win/headers/SketchUpAPI/model/line_styles.h +0 -81
- data/sketchup-sdk-win/headers/SketchUpAPI/model/location.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/model/loop.h +0 -182
- data/sketchup-sdk-win/headers/SketchUpAPI/model/material.h +0 -390
- data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1663
- data/sketchup-sdk-win/headers/SketchUpAPI/model/model_version.h +0 -49
- data/sketchup-sdk-win/headers/SketchUpAPI/model/opening.h +0 -72
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_manager.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/options_provider.h +0 -166
- data/sketchup-sdk-win/headers/SketchUpAPI/model/polyline3d.h +0 -140
- data/sketchup-sdk-win/headers/SketchUpAPI/model/rendering_options.h +0 -179
- data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -836
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema.h +0 -56
- data/sketchup-sdk-win/headers/SketchUpAPI/model/schema_type.h +0 -26
- data/sketchup-sdk-win/headers/SketchUpAPI/model/section_plane.h +0 -212
- data/sketchup-sdk-win/headers/SketchUpAPI/model/selection.h +0 -156
- data/sketchup-sdk-win/headers/SketchUpAPI/model/shadow_info.h +0 -147
- data/sketchup-sdk-win/headers/SketchUpAPI/model/skp.h +0 -45
- data/sketchup-sdk-win/headers/SketchUpAPI/model/style.h +0 -303
- data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -190
- data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -384
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -358
- data/sketchup-sdk-win/headers/SketchUpAPI/model/texture_writer.h +0 -280
- data/sketchup-sdk-win/headers/SketchUpAPI/model/typed_value.h +0 -390
- data/sketchup-sdk-win/headers/SketchUpAPI/model/uv_helper.h +0 -79
- data/sketchup-sdk-win/headers/SketchUpAPI/model/vertex.h +0 -154
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup.h +0 -122
- data/sketchup-sdk-win/headers/SketchUpAPI/sketchup_info.h +0 -65
- data/sketchup-sdk-win/headers/SketchUpAPI/slapi.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/transformation.h +0 -16
- data/sketchup-sdk-win/headers/SketchUpAPI/unicodestring.h +0 -239
- data/sketchup-sdk-win/headers/SketchUpAPI/utils/math_helpers.h +0 -124
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::AngularDimension < Layout::Entity
|
|
4
|
+
LEADER_LINE_TYPE_BEZIER: Integer
|
|
5
|
+
LEADER_LINE_TYPE_HIDDEN: Integer
|
|
6
|
+
LEADER_LINE_TYPE_SINGLE_SEGMENT: Integer
|
|
7
|
+
LEADER_LINE_TYPE_TWO_SEGMENT: Integer
|
|
8
|
+
def angle: () -> Numeric
|
|
9
|
+
def arc_center_point: () -> Geom::Point2d
|
|
10
|
+
def custom_text=: (bool uses_custom_text) -> bool
|
|
11
|
+
def custom_text?: () -> bool
|
|
12
|
+
def end_connection_point: () -> Geom::Point2d
|
|
13
|
+
def end_connection_point=: (Geom::Point2d end_point) -> Geom::Point2d
|
|
14
|
+
def end_extent_point: () -> Geom::Point2d
|
|
15
|
+
def end_extent_point=: (Geom::Point2d end_extent) -> Geom::Point2d
|
|
16
|
+
def end_offset_length=: (Numeric offset_length) -> Numeric
|
|
17
|
+
def end_offset_point: () -> Geom::Point2d
|
|
18
|
+
def entities: () -> Layout::Entities
|
|
19
|
+
def initialize: (Geom::Point2d start_point, Geom::Point2d end_point, Geom::Point2d start_extent_point, Geom::Point2d end_extent_point, bool inner_angle) -> void
|
|
20
|
+
def leader_line_type: () -> Integer
|
|
21
|
+
def leader_line_type=: (Integer) -> Integer
|
|
22
|
+
def radius: () -> Numeric
|
|
23
|
+
def radius=: (Numeric radius) -> Numeric
|
|
24
|
+
def start_connection_point: () -> Geom::Point2d
|
|
25
|
+
def start_connection_point=: (Geom::Point2d start_point) -> Geom::Point2d
|
|
26
|
+
def start_extent_point: () -> Geom::Point2d
|
|
27
|
+
def start_extent_point=: (Geom::Point2d start_extent) -> Geom::Point2d
|
|
28
|
+
def start_offset_length=: (Numeric offset_length) -> Numeric
|
|
29
|
+
def start_offset_point: () -> Geom::Point2d
|
|
30
|
+
def text: () -> Layout::FormattedText
|
|
31
|
+
def text=: (Layout::FormattedText formatted_text) -> Layout::FormattedText
|
|
32
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::AutoTextDefinition
|
|
4
|
+
NUMBER_STYLE_ARABIC: Integer
|
|
5
|
+
NUMBER_STYLE_ARABIC_PADDED: Integer
|
|
6
|
+
NUMBER_STYLE_LC_ALPHA: Integer
|
|
7
|
+
NUMBER_STYLE_LC_ROMAN: Integer
|
|
8
|
+
NUMBER_STYLE_UC_ALPHA: Integer
|
|
9
|
+
NUMBER_STYLE_UC_ROMAN: Integer
|
|
10
|
+
SEQUENCE_TYPE_PER_DOCUMENT: Integer
|
|
11
|
+
SEQUENCE_TYPE_PER_PAGE: Integer
|
|
12
|
+
TYPE_CUSTOM_TEXT: Integer
|
|
13
|
+
TYPE_DATE_CREATED: Integer
|
|
14
|
+
TYPE_DATE_CURRENT: Integer
|
|
15
|
+
TYPE_DATE_MODIFIED: Integer
|
|
16
|
+
TYPE_DATE_PUBLISHED: Integer
|
|
17
|
+
TYPE_FILE: Integer
|
|
18
|
+
TYPE_MODEL_CLASSIFIER_ATTRIBUTE: Integer
|
|
19
|
+
TYPE_MODEL_COMPONENT_DEFINITION_ATTRIBUTE: Integer
|
|
20
|
+
TYPE_MODEL_COMPONENT_DEFINITION_NAME: Integer
|
|
21
|
+
TYPE_MODEL_COMPONENT_DESCRIPTION: Integer
|
|
22
|
+
TYPE_MODEL_COMPONENT_INSTANCE_ATTRIBUTE: Integer
|
|
23
|
+
TYPE_MODEL_COMPONENT_INSTANCE_NAME: Integer
|
|
24
|
+
TYPE_MODEL_COORDINATES: Integer
|
|
25
|
+
TYPE_MODEL_DYNAMIC_COMPONENT_ATTRIBUTE: Integer
|
|
26
|
+
TYPE_MODEL_EDGE_LENGTH: Integer
|
|
27
|
+
TYPE_MODEL_FACE_AREA: Integer
|
|
28
|
+
TYPE_MODEL_GROUP_NAME: Integer
|
|
29
|
+
TYPE_MODEL_RATIO: Integer
|
|
30
|
+
TYPE_MODEL_SCALE: Integer
|
|
31
|
+
TYPE_MODEL_SCENE_DESCRIPTION: Integer
|
|
32
|
+
TYPE_MODEL_SCENE_NAME: Integer
|
|
33
|
+
TYPE_MODEL_SECTION_NAME: Integer
|
|
34
|
+
TYPE_MODEL_SECTION_SYMBOL: Integer
|
|
35
|
+
TYPE_MODEL_VOLUME: Integer
|
|
36
|
+
TYPE_PAGE_COUNT: Integer
|
|
37
|
+
TYPE_PAGE_NAME: Integer
|
|
38
|
+
TYPE_PAGE_NUMBER: Integer
|
|
39
|
+
TYPE_SEQUENCE: Integer
|
|
40
|
+
def ==: (Layout::AutoTextDefinition other) -> bool
|
|
41
|
+
def custom_text: () -> String
|
|
42
|
+
def custom_text=: (String custom_text) -> String
|
|
43
|
+
def date_format: () -> String
|
|
44
|
+
def date_format=: (String date_format) -> String
|
|
45
|
+
def display_file_extension=: (bool display_file_extension) -> bool
|
|
46
|
+
def display_file_extension?: () -> bool
|
|
47
|
+
def display_full_path=: (bool display_full_path) -> bool
|
|
48
|
+
def display_full_path?: () -> bool
|
|
49
|
+
def end_page: () -> Layout::Page?
|
|
50
|
+
def end_page=: (Layout::Page? page) -> Layout::Page?
|
|
51
|
+
def increment: () -> Integer
|
|
52
|
+
def increment=: (Integer increment) -> Integer
|
|
53
|
+
def mandatory?: () -> bool
|
|
54
|
+
def name: () -> String
|
|
55
|
+
def name=: (String name) -> String
|
|
56
|
+
def number_style: () -> Integer
|
|
57
|
+
def number_style=: (Integer number_style) -> Integer
|
|
58
|
+
%a{deprecated}
|
|
59
|
+
def page_number_style: () -> Integer
|
|
60
|
+
%a{deprecated}
|
|
61
|
+
def page_number_style=: (Integer number_style) -> Integer
|
|
62
|
+
def renumber: () -> untyped
|
|
63
|
+
def sequence_format: () -> String
|
|
64
|
+
def sequence_format=: (String sequence_format) -> String
|
|
65
|
+
def sequence_type: () -> Integer
|
|
66
|
+
def sequence_type=: (Integer sequence_type) -> Integer
|
|
67
|
+
def start_index: () -> Integer
|
|
68
|
+
def start_index=: (Integer index) -> Integer
|
|
69
|
+
def start_page: () -> Layout::Page
|
|
70
|
+
def start_page=: (Layout::Page page) -> Layout::Page
|
|
71
|
+
def tag: () -> String
|
|
72
|
+
def type: () -> Integer
|
|
73
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::AutoTextDefinitions
|
|
4
|
+
include Enumerable[Layout::AutoTextDefinition]
|
|
5
|
+
def []: (Integer index) -> Layout::AutoTextDefinition
|
|
6
|
+
| (String name) -> Layout::AutoTextDefinition
|
|
7
|
+
def add: (String name, Integer) -> Layout::AutoTextDefinition
|
|
8
|
+
def each: () ?{ (Layout::AutoTextDefinition auto_text) -> untyped } -> untyped
|
|
9
|
+
def index: (Layout::AutoTextDefinition auto_text) -> Integer?
|
|
10
|
+
| (String name) -> Integer?
|
|
11
|
+
def length: () -> Integer
|
|
12
|
+
def remove: (Layout::AutoTextDefinition definition, ?bool convert_tags_to_text) -> untyped
|
|
13
|
+
| (String name, ?bool convert_tags_to_text) -> untyped
|
|
14
|
+
| (Integer index, ?bool convert_tags_to_text) -> untyped
|
|
15
|
+
end
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::ConnectionPoint
|
|
4
|
+
def initialize: (Layout::Entity entity, Geom::Point2d point, ?Numeric aperture) -> void
|
|
5
|
+
| (Layout::SketchUpModel model, Geom::Point3d point3d, ?String? pid) -> void
|
|
6
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Dictionary
|
|
4
|
+
include Enumerable[untyped]
|
|
5
|
+
def []: (String key) -> (String | bool | Integer | Float | Layout::Dictionary)?
|
|
6
|
+
def []=: (String key, (String | bool | Integer | Float | Hash[untyped, untyped] | Layout::Dictionary)? value) -> untyped
|
|
7
|
+
def delete_key: (String key) -> (String | bool | Integer | Float | Layout::Dictionary)?
|
|
8
|
+
def each: () ?{ (String key, untyped value) -> untyped } -> untyped
|
|
9
|
+
def each_key: () ?{ (String key) -> untyped } -> untyped
|
|
10
|
+
def each_pair: () ?{ (String key, untyped value) -> untyped } -> untyped
|
|
11
|
+
def empty?: () -> bool
|
|
12
|
+
def initialize: () -> void
|
|
13
|
+
| (untyped dict) -> void
|
|
14
|
+
def keys: () -> Array[String]
|
|
15
|
+
def length: () -> Integer
|
|
16
|
+
def size: () -> Integer
|
|
17
|
+
def values: () -> Array[untyped]
|
|
18
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Document
|
|
4
|
+
DECIMAL_CENTIMETERS: Integer
|
|
5
|
+
DECIMAL_FEET: Integer
|
|
6
|
+
DECIMAL_INCHES: Integer
|
|
7
|
+
DECIMAL_METERS: Integer
|
|
8
|
+
DECIMAL_MILLIMETERS: Integer
|
|
9
|
+
DECIMAL_POINTS: Integer
|
|
10
|
+
FRACTIONAL_INCHES: Integer
|
|
11
|
+
VERSION_1: Integer
|
|
12
|
+
VERSION_2: Integer
|
|
13
|
+
VERSION_2013: Integer
|
|
14
|
+
VERSION_2014: Integer
|
|
15
|
+
VERSION_2015: Integer
|
|
16
|
+
VERSION_2016: Integer
|
|
17
|
+
VERSION_2017: Integer
|
|
18
|
+
VERSION_2018: Integer
|
|
19
|
+
VERSION_2019: Integer
|
|
20
|
+
VERSION_2020: Integer
|
|
21
|
+
VERSION_2021: Integer
|
|
22
|
+
VERSION_2022: Integer
|
|
23
|
+
VERSION_2023: Integer
|
|
24
|
+
VERSION_3: Integer
|
|
25
|
+
VERSION_CURRENT: Integer
|
|
26
|
+
def self.open: (String path) -> Layout::Document
|
|
27
|
+
def ==: (Layout::Document other) -> bool
|
|
28
|
+
def add_entity: (Layout::Entity entity, Layout::Layer layer, Layout::Page page) -> untyped
|
|
29
|
+
| (Layout::Entity entity, Layout::Layer layer) -> untyped
|
|
30
|
+
def attribute_dictionary: (String name) -> Layout::Dictionary?
|
|
31
|
+
def auto_text_definitions: () -> Layout::AutoTextDefinitions
|
|
32
|
+
def delete_attribute: (String dictionary_name) -> bool
|
|
33
|
+
| (String dictionary_name, String key) -> bool
|
|
34
|
+
def export: (String file_path, ?Hash[untyped, untyped]? options) -> untyped
|
|
35
|
+
def get_attribute: (String name, String key, ?(String | bool | Integer | Float | Hash[untyped, untyped] | Layout::Dictionary)? default_value) -> (String | bool | Integer | Float | Layout::Dictionary)?
|
|
36
|
+
def grid: () -> Layout::Grid
|
|
37
|
+
def grid_snap_enabled=: (bool enabled) -> bool
|
|
38
|
+
def grid_snap_enabled?: () -> bool
|
|
39
|
+
def initialize: () -> void
|
|
40
|
+
| (String template_path) -> void
|
|
41
|
+
def layers: () -> Layout::Layers
|
|
42
|
+
def object_snap_enabled=: (bool enabled) -> bool
|
|
43
|
+
def object_snap_enabled?: () -> bool
|
|
44
|
+
def page_info: () -> Layout::PageInfo
|
|
45
|
+
def pages: () -> Layout::Pages
|
|
46
|
+
def path: () -> String
|
|
47
|
+
def precision: () -> Float
|
|
48
|
+
def precision=: (Float precision) -> Float
|
|
49
|
+
def remove_entity: (Layout::Entity entity) -> untyped
|
|
50
|
+
def render_mode_override: () -> Integer
|
|
51
|
+
def render_mode_override=: (Integer render_mode) -> Integer
|
|
52
|
+
def save: () -> untyped
|
|
53
|
+
| (String path, ?Integer version) -> untyped
|
|
54
|
+
def set_attribute: (String name, untyped key, untyped value) -> untyped
|
|
55
|
+
def shared_entities: () -> Layout::Entities
|
|
56
|
+
def time_created: () -> Time
|
|
57
|
+
def time_modified: () -> Time
|
|
58
|
+
def time_published: () -> Time
|
|
59
|
+
def units: () -> Integer
|
|
60
|
+
def units=: (Integer units_format) -> Integer
|
|
61
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Entities
|
|
4
|
+
include Enumerable[Layout::Entity]
|
|
5
|
+
def []: (Integer index) -> Layout::Entity
|
|
6
|
+
def each: (?Hash[Symbol, bool] flags) ?{ (Layout::Entity entity) -> untyped } -> untyped
|
|
7
|
+
def length: () -> Integer
|
|
8
|
+
def reverse_each: () ?{ (Layout::Entity entity) -> untyped } -> untyped
|
|
9
|
+
| (Hash[Symbol, bool] flags) ?{ (Layout::Entity entity) -> untyped } -> untyped
|
|
10
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Entity
|
|
4
|
+
def ==: (Layout::Entity other) -> bool
|
|
5
|
+
def attribute_dictionary: (String name) -> Layout::Dictionary?
|
|
6
|
+
def bounds: () -> Geom::Bounds2d
|
|
7
|
+
def delete_attribute: (String dictionary_name) -> bool
|
|
8
|
+
| (String dictionary_name, String key) -> bool
|
|
9
|
+
def document: () -> Layout::Document?
|
|
10
|
+
def drawing_bounds: () -> Geom::OrientedBounds2d
|
|
11
|
+
def get_attribute: (String name, String key, ?(String | bool | Integer | Float | Hash[untyped, untyped] | Layout::Dictionary)? default_value) -> (String | bool | Integer | Float | Layout::Dictionary)?
|
|
12
|
+
def group: () -> Layout::Group?
|
|
13
|
+
def layer_instance: () -> Layout::LayerInstance?
|
|
14
|
+
def locked=: (bool is_locked) -> bool
|
|
15
|
+
def locked?: () -> bool
|
|
16
|
+
def move_to_group: (Layout::Group group) -> untyped
|
|
17
|
+
def move_to_layer: (Layout::Layer layer) -> untyped
|
|
18
|
+
| (Layout::Layer layer, Array[Layout::Page] pages) -> untyped
|
|
19
|
+
def on_shared_layer?: () -> bool
|
|
20
|
+
def page: () -> Layout::Page?
|
|
21
|
+
def set_attribute: (String name, untyped key, untyped value) -> untyped
|
|
22
|
+
def style: () -> Layout::Style?
|
|
23
|
+
def style=: (Layout::Style style) -> Layout::Style
|
|
24
|
+
def transform!: (Geom::Transformation2d transformation) -> untyped
|
|
25
|
+
def transformation: () -> Geom::Transformation2d?
|
|
26
|
+
def untransformed_bounds: () -> Geom::Bounds2d
|
|
27
|
+
def untransformed_bounds=: (Geom::Bounds2d bounds) -> Geom::Bounds2d
|
|
28
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::FormattedText < Layout::Entity
|
|
4
|
+
ANCHOR_TYPE_BOTTOM_CENTER: Integer
|
|
5
|
+
ANCHOR_TYPE_BOTTOM_LEFT: Integer
|
|
6
|
+
ANCHOR_TYPE_BOTTOM_RIGHT: Integer
|
|
7
|
+
ANCHOR_TYPE_CENTER_CENTER: Integer
|
|
8
|
+
ANCHOR_TYPE_CENTER_LEFT: Integer
|
|
9
|
+
ANCHOR_TYPE_CENTER_RIGHT: Integer
|
|
10
|
+
ANCHOR_TYPE_TOP_CENTER: Integer
|
|
11
|
+
ANCHOR_TYPE_TOP_LEFT: Integer
|
|
12
|
+
ANCHOR_TYPE_TOP_RIGHT: Integer
|
|
13
|
+
GROW_MODE_BOUNDED: Integer
|
|
14
|
+
GROW_MODE_UNBOUNDED: Integer
|
|
15
|
+
def self.new_from_file: (String path, Geom::Bounds2d bounds) -> Layout::FormattedText
|
|
16
|
+
| (String path, Geom::Point2d anchor_point, Integer anchor_type) -> Layout::FormattedText
|
|
17
|
+
def append_plain_text: (String plain_text, Layout::Style style) -> untyped
|
|
18
|
+
def apply_style: (Layout::Style style, ?Integer index, ?Integer length) -> untyped
|
|
19
|
+
def display_text: (?Layout::Page page) -> String
|
|
20
|
+
def grow_mode: () -> Integer
|
|
21
|
+
def grow_mode=: (untyped grow_mode) -> Integer
|
|
22
|
+
def initialize: (String text, Geom::Bounds2d bounds) -> void
|
|
23
|
+
| (String text, Geom::Point2d anchor_point, Integer anchor_type) -> void
|
|
24
|
+
def plain_text: () -> String
|
|
25
|
+
def plain_text=: (String plain_text) -> String
|
|
26
|
+
def rtf: () -> String
|
|
27
|
+
| (Layout::Page page) -> String
|
|
28
|
+
def rtf=: (String rtf_text) -> String
|
|
29
|
+
def style: (?Integer index, ?Integer length) -> Layout::Style
|
|
30
|
+
end
|
data/sig/layout/grid.rbs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Grid
|
|
4
|
+
def clip_to_margins=: (bool clip) -> bool
|
|
5
|
+
def clip_to_margins?: () -> bool
|
|
6
|
+
def in_front=: (bool in_front) -> bool
|
|
7
|
+
def in_front?: () -> bool
|
|
8
|
+
def major_color: () -> Sketchup::Color
|
|
9
|
+
def major_color=: (Sketchup::Color color) -> Sketchup::Color
|
|
10
|
+
def major_spacing: () -> Numeric
|
|
11
|
+
def major_spacing=: (Float spacing) -> Float
|
|
12
|
+
def minor_color: () -> Sketchup::Color
|
|
13
|
+
def minor_color=: (Sketchup::Color color) -> Sketchup::Color
|
|
14
|
+
def minor_divisions: () -> Integer
|
|
15
|
+
def minor_divisions=: (Integer divisions) -> Integer
|
|
16
|
+
def print=: (bool print) -> bool
|
|
17
|
+
def print?: () -> bool
|
|
18
|
+
def show=: (bool show) -> bool
|
|
19
|
+
def show?: () -> bool
|
|
20
|
+
def show_major=: (bool show) -> bool
|
|
21
|
+
def show_major?: () -> bool
|
|
22
|
+
def show_minor=: (bool show) -> bool
|
|
23
|
+
def show_minor?: () -> bool
|
|
24
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Group < Layout::Entity
|
|
4
|
+
RESIZE_BEHAVIOR_BOUNDS: Integer
|
|
5
|
+
RESIZE_BEHAVIOR_BOUNDS_AND_FONTS: Integer
|
|
6
|
+
RESIZE_BEHAVIOR_NONE: Integer
|
|
7
|
+
def entities: () -> Layout::Entities
|
|
8
|
+
def initialize: (Array[Layout::Entity] entities) -> void
|
|
9
|
+
def remove_scale_factor: (Integer resize_behavior) -> untyped
|
|
10
|
+
def scale_factor: () -> Float?
|
|
11
|
+
def scale_precision: () -> Float
|
|
12
|
+
def scale_precision=: (Float precision) -> Float
|
|
13
|
+
def scale_units: () -> Integer
|
|
14
|
+
def scale_units=: (Integer units_format) -> Integer
|
|
15
|
+
def set_scale_factor: (Float scale_factor, Integer units_format, Integer resize_behavior) -> untyped
|
|
16
|
+
def ungroup: () -> bool
|
|
17
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Image < Layout::Entity
|
|
4
|
+
def clip_mask: () -> (Layout::Ellipse | Layout::Path | Layout::Rectangle)?
|
|
5
|
+
def clip_mask=: ((Layout::Ellipse | Layout::Path | Layout::Rectangle)? clip_mask) -> (Layout::Ellipse | Layout::Path | Layout::Rectangle)?
|
|
6
|
+
def initialize: (String path, Geom::Bounds2d bounds) -> void
|
|
7
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Label < Layout::Entity
|
|
4
|
+
CONNECTION_TYPE_AUTO: Integer
|
|
5
|
+
CONNECTION_TYPE_BOTTOM_LEFT: Integer
|
|
6
|
+
CONNECTION_TYPE_BOTTOM_RIGHT: Integer
|
|
7
|
+
CONNECTION_TYPE_CENTER_LEFT: Integer
|
|
8
|
+
CONNECTION_TYPE_CENTER_RIGHT: Integer
|
|
9
|
+
CONNECTION_TYPE_NONE: Integer
|
|
10
|
+
CONNECTION_TYPE_REVERSE_AUTO: Integer
|
|
11
|
+
CONNECTION_TYPE_TOP_LEFT: Integer
|
|
12
|
+
CONNECTION_TYPE_TOP_RIGHT: Integer
|
|
13
|
+
LEADER_LINE_TYPE_BEZIER: Integer
|
|
14
|
+
LEADER_LINE_TYPE_SINGLE_SEGMENT: Integer
|
|
15
|
+
LEADER_LINE_TYPE_TWO_SEGMENT: Integer
|
|
16
|
+
LEADER_LINE_TYPE_UNKNOWN: Integer
|
|
17
|
+
def connect: (Layout::ConnectionPoint connection_point) -> untyped
|
|
18
|
+
def connection_type: () -> Integer
|
|
19
|
+
def connection_type=: (Integer connection_type) -> Integer
|
|
20
|
+
def disconnect: () -> untyped
|
|
21
|
+
def entities: () -> Layout::Entities
|
|
22
|
+
| (Layout::Page page) -> Layout::Entities
|
|
23
|
+
def initialize: (String text, Integer leader_type, Geom::Point2d target_point, Geom::Bounds2d bounds) -> void
|
|
24
|
+
| (String text, Integer leader_type, Geom::Point2d target_point, Geom::Point2d anchor_point, Integer anchor_type) -> void
|
|
25
|
+
def leader_line: () -> Layout::Path
|
|
26
|
+
def leader_line=: (Layout::Path leader_path) -> Layout::Path
|
|
27
|
+
def leader_line_type: () -> Integer
|
|
28
|
+
def leader_line_type=: (Integer leader_type) -> Integer
|
|
29
|
+
def text: () -> Layout::FormattedText
|
|
30
|
+
def text=: (Layout::FormattedText new_text) -> Layout::FormattedText
|
|
31
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Layer
|
|
4
|
+
SHARELAYERACTION_CLEAR: Integer
|
|
5
|
+
SHARELAYERACTION_KEEPONEPAGE: Integer
|
|
6
|
+
SHARELAYERACTION_MERGEALLPAGES: Integer
|
|
7
|
+
UNSHARELAYERACTION_CLEAR: Integer
|
|
8
|
+
UNSHARELAYERACTION_COPYTOALLPAGES: Integer
|
|
9
|
+
UNSHARELAYERACTION_COPYTOONEPAGE: Integer
|
|
10
|
+
def ==: (Layout::Layer other) -> bool
|
|
11
|
+
def document: () -> Layout::Document
|
|
12
|
+
def layer_instance: () -> Layout::LayerInstance
|
|
13
|
+
| (Layout::Page page) -> Layout::LayerInstance
|
|
14
|
+
def locked=: (bool locked) -> bool
|
|
15
|
+
def locked?: () -> bool
|
|
16
|
+
def name: () -> String
|
|
17
|
+
def name=: (String name) -> String
|
|
18
|
+
def set_nonshared: (Layout::Page page, Integer unshare_action) -> untyped
|
|
19
|
+
def set_shared: (Layout::Page page, Integer share_action) -> untyped
|
|
20
|
+
def shared?: () -> bool
|
|
21
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::LayerInstance
|
|
4
|
+
def ==: (Layout::LayerInstance other) -> bool
|
|
5
|
+
def definition: () -> Layout::Layer
|
|
6
|
+
def entities: () -> Layout::Entities
|
|
7
|
+
def entity_index: (Layout::Entity entity) -> Integer
|
|
8
|
+
def reorder_entity: (Layout::Entity entity, Integer index) -> untyped
|
|
9
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Layers
|
|
4
|
+
include Enumerable[Layout::Layer]
|
|
5
|
+
def []: (Integer index) -> Layout::Layer
|
|
6
|
+
def active: () -> Layout::Layer
|
|
7
|
+
def active=: (Layout::Layer layer) -> Layout::Layer
|
|
8
|
+
| (Integer index) -> Layout::Layer
|
|
9
|
+
def add: (?bool shared) -> Layout::Layer
|
|
10
|
+
| (String name, ?bool shared) -> Layout::Layer
|
|
11
|
+
def each: () ?{ (Layout::Layer layer) -> untyped } -> untyped
|
|
12
|
+
def index: (Layout::Layer layer) -> Integer?
|
|
13
|
+
def length: () -> Integer
|
|
14
|
+
def remove: (Layout::Layer layer, ?bool delete_entities) -> untyped
|
|
15
|
+
| (Integer index, ?bool delete_entities) -> untyped
|
|
16
|
+
def reorder: (Layout::Layer layer, Integer new_index) -> untyped
|
|
17
|
+
| (Integer index, Integer new_index) -> untyped
|
|
18
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::LinearDimension < Layout::Entity
|
|
4
|
+
DIMENSION_LINE_ALIGNED: Integer
|
|
5
|
+
DIMENSION_LINE_HORIZONTAL: Integer
|
|
6
|
+
DIMENSION_LINE_VERTICAL: Integer
|
|
7
|
+
LEADER_LINE_TYPE_BEZIER: Integer
|
|
8
|
+
LEADER_LINE_TYPE_HIDDEN: Integer
|
|
9
|
+
LEADER_LINE_TYPE_SINGLE_SEGMENT: Integer
|
|
10
|
+
LEADER_LINE_TYPE_TWO_SEGMENT: Integer
|
|
11
|
+
def auto_scale=: (bool uses_auto_scale) -> bool
|
|
12
|
+
def auto_scale?: () -> bool
|
|
13
|
+
def connect: (Layout::ConnectionPoint start_connection, Layout::ConnectionPoint end_connection) -> untyped
|
|
14
|
+
def custom_text=: (bool uses_custom_text) -> bool
|
|
15
|
+
def custom_text?: () -> bool
|
|
16
|
+
def disconnect: () -> untyped
|
|
17
|
+
def end_connection_point: () -> Geom::Point2d
|
|
18
|
+
def end_connection_point=: (Geom::Point2d end_point) -> Geom::Point2d
|
|
19
|
+
def end_extent_point: () -> Geom::Point2d
|
|
20
|
+
def end_extent_point=: (Geom::Point2d end_extent) -> Geom::Point2d
|
|
21
|
+
def end_offset_length=: (Numeric offset_length) -> Numeric
|
|
22
|
+
def end_offset_point: () -> Geom::Point2d
|
|
23
|
+
def entities: () -> Layout::Entities
|
|
24
|
+
def initialize: (Geom::Point2d start_point, Geom::Point2d end_point, Numeric height) -> void
|
|
25
|
+
| (Geom::Point2d start_point, Geom::Point2d end_point, Numeric height, Integer alignment) -> void
|
|
26
|
+
def leader_line_type: () -> Integer
|
|
27
|
+
def leader_line_type=: (Integer) -> Integer
|
|
28
|
+
def leader_line_visible?: () -> bool
|
|
29
|
+
def scale: () -> Numeric
|
|
30
|
+
def scale=: (Numeric scale) -> Numeric
|
|
31
|
+
def start_connection_point: () -> Geom::Point2d
|
|
32
|
+
def start_connection_point=: (Geom::Point2d start_point) -> Geom::Point2d
|
|
33
|
+
def start_extent_point: () -> Geom::Point2d
|
|
34
|
+
def start_extent_point=: (Geom::Point2d start_extent) -> Geom::Point2d
|
|
35
|
+
def start_offset_length=: (Numeric offset_length) -> Numeric
|
|
36
|
+
def start_offset_point: () -> Geom::Point2d
|
|
37
|
+
def text: () -> Layout::FormattedText
|
|
38
|
+
def text=: (Layout::FormattedText formatted_text) -> Layout::FormattedText
|
|
39
|
+
end
|
data/sig/layout/page.rbs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Page
|
|
4
|
+
def ==: (Layout::Page other) -> bool
|
|
5
|
+
def attribute_dictionary: (String name) -> Layout::Dictionary?
|
|
6
|
+
def delete_attribute: (String dictionary_name) -> bool
|
|
7
|
+
| (String dictionary_name, String key) -> bool
|
|
8
|
+
def document: () -> Layout::Document
|
|
9
|
+
def entities: () -> Layout::Entities
|
|
10
|
+
def get_attribute: (String name, String key, ?(String | bool | Integer | Float | Hash[untyped, untyped] | Layout::Dictionary)? default_value) -> (String | bool | Integer | Float | Layout::Dictionary)?
|
|
11
|
+
def in_presentation=: (bool in_presentation) -> bool
|
|
12
|
+
def in_presentation?: () -> bool
|
|
13
|
+
def layer_instances: () -> Array[Layout::LayerInstance]
|
|
14
|
+
def layer_visible?: (Layout::Layer layer) -> bool
|
|
15
|
+
def name: () -> String
|
|
16
|
+
def name=: (String name) -> String
|
|
17
|
+
def nonshared_entities: () -> Layout::Entities
|
|
18
|
+
def set_attribute: (String name, untyped key, untyped value) -> untyped
|
|
19
|
+
def set_layer_visibility: (Layout::Layer layer, bool visible) -> bool
|
|
20
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::PageInfo
|
|
4
|
+
RESOLUTION_HIGH: Integer
|
|
5
|
+
RESOLUTION_LOW: Integer
|
|
6
|
+
RESOLUTION_MEDIUM: Integer
|
|
7
|
+
def bottom_margin: () -> Numeric
|
|
8
|
+
def bottom_margin=: (Numeric margin) -> Numeric
|
|
9
|
+
def color: () -> Sketchup::Color
|
|
10
|
+
def color=: (Sketchup::Color new_color) -> Sketchup::Color
|
|
11
|
+
def display_resolution: () -> Integer
|
|
12
|
+
def display_resolution=: (Integer resolution) -> Integer
|
|
13
|
+
def height: () -> Numeric
|
|
14
|
+
def height=: (Numeric height) -> Numeric
|
|
15
|
+
def image_display_resolution: () -> Integer
|
|
16
|
+
def image_display_resolution=: (Integer resolution) -> Integer
|
|
17
|
+
def image_output_resolution: () -> Integer
|
|
18
|
+
def image_output_resolution=: (Integer resolution) -> Integer
|
|
19
|
+
def left_margin: () -> Numeric
|
|
20
|
+
def left_margin=: (Numeric margin) -> Numeric
|
|
21
|
+
def margin_color: () -> Sketchup::Color
|
|
22
|
+
def margin_color=: (Sketchup::Color color) -> Sketchup::Color
|
|
23
|
+
def output_resolution: () -> Integer
|
|
24
|
+
def output_resolution=: (Integer resolution) -> Integer
|
|
25
|
+
def print_margins=: (bool print) -> bool
|
|
26
|
+
def print_margins?: () -> bool
|
|
27
|
+
def print_paper_color=: (bool print_paper_color) -> bool
|
|
28
|
+
def print_paper_color?: () -> bool
|
|
29
|
+
def right_margin: () -> Numeric
|
|
30
|
+
def right_margin=: (Numeric margin) -> Numeric
|
|
31
|
+
def show_margins=: (bool margins_visible) -> bool
|
|
32
|
+
def show_margins?: () -> bool
|
|
33
|
+
def top_margin: () -> Numeric
|
|
34
|
+
def top_margin=: (Numeric margin) -> Numeric
|
|
35
|
+
def width: () -> Numeric
|
|
36
|
+
def width=: (Numeric width) -> Numeric
|
|
37
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Pages
|
|
4
|
+
include Enumerable[Layout::Page]
|
|
5
|
+
def []: (Integer index) -> Layout::Page
|
|
6
|
+
def add: (?String name) -> Layout::Page
|
|
7
|
+
def each: () ?{ (Layout::Page page) -> untyped } -> untyped
|
|
8
|
+
def index: (Layout::Page page) -> Integer?
|
|
9
|
+
def initial: () -> Layout::Page
|
|
10
|
+
def initial=: (Layout::Page page) -> Layout::Page
|
|
11
|
+
| (Integer index) -> Integer
|
|
12
|
+
def length: () -> Integer
|
|
13
|
+
def remove: (Layout::Page page) -> untyped
|
|
14
|
+
| (Integer index) -> untyped
|
|
15
|
+
def reorder: (Layout::Page page, Integer new_index) -> untyped
|
|
16
|
+
| (Integer index, Integer new_index) -> untyped
|
|
17
|
+
end
|
data/sig/layout/path.rbs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Path < Layout::Entity
|
|
4
|
+
POINT_TYPE_ARC_CENTER: Integer
|
|
5
|
+
POINT_TYPE_BEZIER_CONTROL: Integer
|
|
6
|
+
POINT_TYPE_BEZIER_TO: Integer
|
|
7
|
+
POINT_TYPE_CLOSE: Integer
|
|
8
|
+
POINT_TYPE_LINE_TO: Integer
|
|
9
|
+
POINT_TYPE_MOVE_TO: Integer
|
|
10
|
+
PATH_WINDING_CLOCKWISE: Integer
|
|
11
|
+
PATH_WINDING_COUNTER_CLOCKWISE: Integer
|
|
12
|
+
PATH_WINDING_NONE: Integer
|
|
13
|
+
def self.new_arc: (Geom::Point2d center_point, Float radius, Float start_angle, Float end_angle) -> Layout::Path
|
|
14
|
+
def append_point: (Geom::Point2d point) -> Layout::Path
|
|
15
|
+
| (Geom::Point2d control_point1, Geom::Point2d control_point2, Geom::Point2d point) -> Layout::Path
|
|
16
|
+
def arc: () -> [ Geom::Point2d, Float, Float, Float ]?
|
|
17
|
+
def circle: () -> [ Geom::Point2d, Float ]?
|
|
18
|
+
def close: () -> untyped
|
|
19
|
+
def closed?: () -> bool
|
|
20
|
+
def end_arrow: () -> Layout::Path?
|
|
21
|
+
def end_point: () -> Geom::Point2d
|
|
22
|
+
def initialize: (Geom::Point2d start_point, Geom::Point2d end_point) -> void
|
|
23
|
+
| (Geom::Point2d start_point, Geom::Point2d control_point_1, Geom::Point2d control_point_2, Geom::Point2d end_point) -> void
|
|
24
|
+
| (Layout::Rectangle rectangle) -> void
|
|
25
|
+
| (Layout::Ellipse ellipse) -> void
|
|
26
|
+
def parametric_length: () -> Float
|
|
27
|
+
def point_at: (Float parametric_value) -> Geom::Point2d
|
|
28
|
+
def point_types: () -> Array[Integer]
|
|
29
|
+
def points: () -> Array[Geom::Point2d]
|
|
30
|
+
def start_arrow: () -> Layout::Path?
|
|
31
|
+
def start_point: () -> Geom::Point2d
|
|
32
|
+
def tangent_at: (Float parametric_value) -> Geom::Vector2d
|
|
33
|
+
def winding: () -> Integer
|
|
34
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::Rectangle < Layout::Entity
|
|
4
|
+
TYPE_BULGED: Integer
|
|
5
|
+
TYPE_LOZENGE: Integer
|
|
6
|
+
TYPE_NORMAL: Integer
|
|
7
|
+
TYPE_ROUNDED: Integer
|
|
8
|
+
def initialize: (Geom::Bounds2d bounds) -> void
|
|
9
|
+
| (Geom::Bounds2d bounds, Integer) -> void
|
|
10
|
+
| (Geom::Bounds2d bounds, Integer, Float radius) -> void
|
|
11
|
+
def radius: () -> Float?
|
|
12
|
+
def radius=: (Float radius) -> Float
|
|
13
|
+
def type: () -> Integer
|
|
14
|
+
def type=: (Integer) -> Integer
|
|
15
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Generated from sketchup-api-stubs 0.8.0 for SketchUp 2026.0. Do not edit.
|
|
2
|
+
|
|
3
|
+
class Layout::ReferenceEntity < Layout::Entity
|
|
4
|
+
def clip_mask: () -> (Layout::Ellipse | Layout::Path | Layout::Rectangle)?
|
|
5
|
+
def clip_mask=: ((Layout::Ellipse | Layout::Path | Layout::Rectangle)? clip_mask) -> (Layout::Ellipse | Layout::Path | Layout::Rectangle)?
|
|
6
|
+
def entities: () -> Layout::Group
|
|
7
|
+
end
|