Improve Image alignment documentation for inline image placement#1474
Merged
andreasrosdal merged 2 commits intomasterfrom Feb 16, 2026
Merged
Improve Image alignment documentation for inline image placement#1474andreasrosdal merged 2 commits intomasterfrom
andreasrosdal merged 2 commits intomasterfrom
Conversation
Co-authored-by: andreasrosdal <259156774+andreasrosdal@users.noreply.github.com>
|
Copilot
AI
changed the title
Fix Issue #1255: Improve Image Alignment Documentation
Improve Image alignment documentation for inline image placement
Feb 16, 2026
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.



Description of the new Feature/Bugfix
Issue #1255 reports users cannot place seal images inline with text—the functionality exists via
TEXTWRAPandUNDERLYINGflags but documentation was minimal ("this is a kind of image alignment").Changes:
Enhanced JavaDoc in
Image.java:TEXTWRAPflag enables text wrapping around images for inline placementUNDERLYINGflag places images behind text (watermarks/seals)setAlignment()methodgetAlignment()methodAdded
InlineImageWithText.javaexample:image.setAlignment(Image.RIGHT | Image.TEXTWRAP)image.setAlignment(Image.RIGHT | Image.UNDERLYING)Usage:
Unit-Tests for the new Feature/Bugfix
No unit tests added—changes are documentation-only. Example code compiles and demonstrates correct usage.
Compatibilities Issues
None. Documentation-only changes with no API modifications.
Your real name
GitHub Copilot Agent (andreasrosdal)
Testing details
Verified by compiling
Image.javaandInlineImageWithText.javawith Java 21. Code review and CodeQL security scan passed.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
github-production-user-asset-6210df.s3.amazonaws.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.