summaryrefslogtreecommitdiffstats
path: root/share/extensions/color_hsl_adjust.inx
blob: b7d7dba02e43f400eba1b6dd79d8671f1a58d2cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>HSL Adjust</name>
    <id>org.inkscape.color.hsl_adjust</id>
    <param name="tab" type="notebook">
        <page name="Options" gui-text="Options">
            <param name="hue" type="int" appearance="full" min="-360" max="360" indent="0" 
            gui-text="Hue (°)" gui-description="Rotate hue by degrees (wraps around)">0</param>
            <param name="random_h" type="bool" gui-text="Random hue">false</param>
            <param name="saturation" type="int" appearance="full" min="-100" max="100" indent="0" 
            gui-text="Saturation (%)" gui-description="add/subtract percentage to/from saturation (min=-100, max=100).">0</param>
            <param name="random_s" type="bool" gui-text="Random saturation">false</param>
            <param name="lightness" type="int" appearance="full" min="-100" max="100" indent="0" 
            gui-text="Lightness (%)" gui-description="add/subtract percentage to/from lightness (min=-100, max=100).">0</param>
            <param name="random_l" type="bool" gui-text="Random lightness">false</param>
        </page>
        <page name="Help" gui-text="Help">
            <label xml:space="preserve">
Adjusts hue, saturation and lightness in the HSL representation of the selected objects's color.
      </label>
        </page>
    </param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Color"/>
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">color_hsl_adjust.py</command>
    </script>
</inkscape-extension>