Element: graduation.blend_focus

Type

numeric

Description

The blend focus of a graduation determines where the color-reversion point is for 2-color graduations of blend type triangle or bell. Such graduations begin at the start color, graduate to the finish color, then graduate back to the start color again. By default the finish color is reached half-way through the total graduation (a default focus of 0.5) but this can be varied.

This attribute is relevant only for 2-color graduations with blend type 0 or 1.

Here are examples of graduations with the default and varying blend focus.

Triangular, focus 0.5)
Bell (focus 0.5)
Triangular, focus 0.75)
Bell (focus 0.75)

The commands to create these graduations are as follows:

graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=1;# triangular
graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=2;# bell
graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=1,-foc=0.75;# triangular
graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=2,-foc=0.75;# bell

See Also

Commands:

graduation