Difference between revisions of "Gradient Toolbar"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) |
Romain2Boss (talk | contribs) m (→Preferences) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Overview == | == Overview == | ||
[[File:Gradient-toolbar.png]] | |||
Functions: | Functions: | ||
* '''New''': Two options, linear or radial gradients | * '''New''': Two options, linear or radial gradients | ||
* '''On''': Apply the new gradient to the | * '''On''': Apply the new gradient to the fill or the stroke of the object | ||
* '''Change''': Change the gradient of the selection | * '''Change''': Change the gradient of the selection | ||
* '''Edit...''': Open the [[Gradient Dialog]] to edit the gradient | * '''Edit...''': Open the [[Gradient Dialog]] to edit the gradient | ||
== Preferences == | |||
* /tools/gradient/newfillorstroke: ''On'' parameter as Boolean (fill = true, stroke = false) | |||
* /tools/gradient/newgradient: ''New'' gradient type parameter as Integer (SP_GRADIENT_TYPE_LINEAR or SP_GRADIENT_TYPE_RADIAL) | |||
Actual behaviours: | |||
* Parameters are stored in [[Preferences subsystem|Preferences]] | |||
* Defaults values are hard coded but no reset function exists | |||
== Implementation == | == Implementation == |
Latest revision as of 18:03, 18 March 2012
The Gradient Toolbar is a set of graphical widgets used to create, edit and/or apply a gradient to a selection.
Overview
Functions:
- New: Two options, linear or radial gradients
- On: Apply the new gradient to the fill or the stroke of the object
- Change: Change the gradient of the selection
- Edit...: Open the Gradient Dialog to edit the gradient
Preferences
- /tools/gradient/newfillorstroke: On parameter as Boolean (fill = true, stroke = false)
- /tools/gradient/newgradient: New gradient type parameter as Integer (SP_GRADIENT_TYPE_LINEAR or SP_GRADIENT_TYPE_RADIAL)
Actual behaviours:
- Parameters are stored in Preferences
- Defaults values are hard coded but no reset function exists