inkstitch/templates/gradient_blocks.xml

38 wiersze
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Convert to gradient blocks</name>
<id>org.{{ id_inkstitch }}.gradient_blocks</id>
<param name="extension" type="string" gui-hidden="true">gradient_blocks</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="{{ menu_inkstitch }}" translatable="no">
<submenu name="Tools: Fill" />
</submenu>
</effects-menu>
</effect>
<param name="notebook" type="notebook">
<page name="options" gui-text="Options">
<param name="end-row-spacing"
gui-text="End row spacing"
gui-description="Set to zero to use twice the row spacing value"
type="float"
min="0" max="100"
precision="2"
indents="1">0</param>
</page>
<page name="info" gui-text="Help">
<label appearance="header">Converts a fill with a linear color gradient into color blocks with variable row spacing.</label>
<spacer />
<label>This may add density at the center.</label>
<spacer />
<label>If necessary adapt the end row spacing value after the conversion with the params dialog.</label>
<spacer />
<label appearance="url">https://inkstitch.org/docs/fill-tools/#convert-to-gradient-blocks</label>
</page>
</param>
<script>
{{ command_tag | safe }}
</script>
</inkscape-extension>