Difference between revisions of "SetDynamicColor Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude> | <noinclude>{{Manual Page|version=5.0}}</noinclude> | ||
{{command|scripting|US_version=SetDynamicColor|non-US_version=SetDynamicColour}} | {{command|scripting|US_version=SetDynamicColor|non-US_version=SetDynamicColour}} | ||
− | ;SetDynamicColor | + | ;SetDynamicColor( <Object>, <Red>, <Green>, <Blue> ) |
:Sets the [[Dynamic Colors|dynamic color]] of the object. | :Sets the [[Dynamic Colors|dynamic color]] of the object. | ||
− | ;SetDynamicColor | + | ;SetDynamicColor( <Object>, <Red>, <Green>, <Blue>, <Opacity> ) |
:Sets the [[Dynamic Colors|dynamic color and opacity]] of the object. | :Sets the [[Dynamic Colors|dynamic color and opacity]] of the object. | ||
{{Note|All numbers are on a scale from 0 (off/transparent) to 1 (on/opaque).}} | {{Note|All numbers are on a scale from 0 (off/transparent) to 1 (on/opaque).}} |
Latest revision as of 16:17, 7 October 2017
This command differs among variants of English:
|
- SetDynamicColor( <Object>, <Red>, <Green>, <Blue> )
- Sets the dynamic color of the object.
- SetDynamicColor( <Object>, <Red>, <Green>, <Blue>, <Opacity> )
- Sets the dynamic color and opacity of the object.
Note: All numbers are on a scale from 0 (off/transparent) to 1 (on/opaque).