Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTScript Drawing functions #5158

Open
wants to merge 35 commits into
base: develop
Choose a base branch
from

Conversation

bubblobill
Copy link
Collaborator

@bubblobill bubblobill commented Jan 31, 2025

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 Reviewable

…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
@github-actions github-actions bot added the feature Adding functionality that adds value label Jan 31, 2025
@bubblobill
Copy link
Collaborator Author

@cwisniew still no delimiter field :P

@bubblobill bubblobill self-assigned this Feb 2, 2025
@bubblobill
Copy link
Collaborator Author

Complete with delimiter options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Edit Properties of a drawing in the Draw Explorer
1 participant