Fix Version/s: None
Component/s: display_firefly, Firefly
Sprint:SUIT Sprint 2018-09
Team:Science User Interface
When textangle is provided in a region description, Firefly does not draw the associated region. The afw.display.dot method allows specifying the textangle, but when this argument is provided, the region is not displayed.
Example of region text generated by afw.display.dot that does not display:
text 1074 110 "Text" # color=yellow textangle=45.0
The format we need to support for angle is textangle= after the hash symbol.
- links to
David Shupe added a comment -
Reviews have been completed on Github. I have verified that the server-side changes work as expected, including with lsst.afw.display.dot displaying text with textAngle set.
David Shupe added a comment - Reviews have been completed on Github. I have verified that the server-side changes work as expected, including with lsst.afw.display.dot displaying text with textAngle set.
per DS9 documentation, 'textangle' can be set with 'text' property to specify the slanted angle of the text in degree based on current coordinate system axes.
Currently, Firefly allows 'textangle' to be provided in region description of any region type, however, only text from 'region' text is shown to be rotated with some angle in case property 'angletext' is set.
For region 'text', the coordinate in region description means the center of the text as shown in SAOImage ds9. For other region type like box, circle, etc., more clue is needed to know where the text should be placed by the region and where should be the rotation center in case 'textangle' is set. Currently Firefly puts the text in a default location by the region which is not 'region' text'.