Hi,
Using the Inkscape verb "AlignVerticalCenter" I'm able to easily align an object through the CLI. When I do this, the object is vertically centered to the page.
Within the Inkscape GUI Align and Distribute interface, there is a dropdown titled "Relative to".
I would like to be able to "AlignVerticalCenter" relative to the drop-down menu value "selection area". Unfortunately, there does not seem to be a verb to set this "Relative to" value.
Anybody know of a workaround?
Any help is much appreciated.
Regards,
Wyatt
How to AlignVerticalCenter to selection area?
Re: How to AlignVerticalCenter to selection area?
Selection area is not a preserved dimension in vector drawing programs the menu item is deceptive. it used to just say "selection" which means the bounding box of all selected items no matter how big a selection marquee was used, and it still works that way even though the word 'area' has been added. not sure if a verb exists for the old one but if it does it would probably be the same Does that help or maybe you knew that already?
Your mind is what you think it is.
Re: How to AlignVerticalCenter to selection area?
I use it to vertically center text within a rectangle.
I select a rectangle, I select text. I choose "selection area", then press the align vertical center button and the text centers inside my box.
Is there a different way to vertically center text within a box automatically?
I select a rectangle, I select text. I choose "selection area", then press the align vertical center button and the text centers inside my box.
Is there a different way to vertically center text within a box automatically?
Re: How to AlignVerticalCenter to selection area?
I thought it used the setting that was last set in the dialog for the command line functionality. So that isn't the case?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Re: How to AlignVerticalCenter to selection area?
I can test this, but manually setting it in the GUI dialog doesn't really help my case, as I have some code actions that align by page, and require other code actions that need to be aligned by "selection area" within the same command line.
Re: How to AlignVerticalCenter to selection area?
Ah, okay. These commands (--verb) don't take any parameters currently.
If you're fluent in python, you could write an extension that makes use of Inkscape's simpletransform.py file, and can read data from a file... :-/
If you're fluent in python, you could write an extension that makes use of Inkscape's simpletransform.py file, and can read data from a file... :-/
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)
Inkscape FAQ - Learning Resources - Website with tutorials (German and English)