MTScript Drawing functions - #5158
Merged
Merged
Conversation
…required. Function to confirm existence of required keys in JSON Object. Function to return JSON Object with keys converted to lower case.
"shape.areaAdd",
"shape.areaSubtract",
"shape.clearAll",
"shape.combinePaths",
"shape.create",
"shape.delete",
"shape.draw",
"shape.getProperties",
"shape.list",
"shape.transform"
ArcDto,CubicCurveDto,LineDto,PolygonShapeDto,QuadCurveDto,RoundRectangleDto,Rectangle2DDto
…ath and Polygon2D
Collaborator
Author
|
@cwisniew still no delimiter field :P |
Collaborator
Author
|
Complete with delimiter options |
bubblobill
marked this pull request as draft
February 3, 2025 06:47
bubblobill
marked this pull request as ready for review
February 3, 2025 08:32
cwisniew
approved these changes
Feb 6, 2025
Collaborator
|
@bubblobill Can you add documentation for how to use each of the new functions? |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Identify the Bug or Feature request
resolves #1410 #5154
allows principal functionality requested in #2743
creates base for implementing #3189
contributes towards implementing #4867
will make implementing #4584 easier
Description of the Change
A set of functions that allows the creation and manipulation of Java Shapes.
Shapes are stored in a cache with a string or GUID key.
Shapes can subsequently be drawn to a zone and manipulated with existing drawing functions.
Possible Drawbacks
Hardly intuitive, but the shapes are (for the most part) just direct implementations of Java Shapes.
Doesn't get existing drawing shapes.
Documentation Notes
Added Procedural creation of Drawings.
Release Notes
Added Procedural creation of Drawings.
This change is