4D v14SVG_SET_BRIGHTNESS |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_SET_BRIGHTNESS
SVG_SET_BRIGHTNESS
The SVG_SET_BRIGHTNESS command sets the brightness for an SVG image or container whose reference is passed in the svgObject parameter. In the brightness parameter, you pass either a negative value to darken the brightness, or a positive value to brighten it. When you pass a single brightness parameter, the brightness factor is applied globally to the object. Alternatively, you can pass two additional (optional) brightness2 and brightness3 parameters, in which case each brightness value (negative or positive) is applied to a separate part of the color component, i.e. brightness is applied to the "R" (red) part, brightness2 is applied to the "G" (green) part and brightness3 is applied to the "B" (blue) part. |
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
4D SVG Component ( 4D v14) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||