Make public void methods of Envelope2D return "this" for fluid programming

Open
#105 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start at the Envelope2D class and inspect its public void methods, especially move, scale, reaspect, and centerAt. Confirm the methods can be chained in the sequence shown, while checking how existing callers use their return values. Done means the fluid-programming example is supported without breaking current behavior.

Written by the indexing model from the issue text.

Description

val envp = new Envelope2D(....)
envp.move(dx,dy).scale(0.3).reaspect(ax,ay).centerAt(cx,cy)

Dominant language
Java
Stars
710
Forks
268
Avg merge
7d 23h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Esri/geometry-api-java

All issues in Esri/geometry-api-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.