Changes between Version 134 and Version 135 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2017-03-08T16:53:03+01:00 (7 years ago)
Author:
michael2402
Comment:

Add note that the opacity hack was removed.

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v134 v135  
    894894|| {{{symbol-stroke-opacity}}} || line opacity || ''Opacity'' ||  1.0  ||
    895895|| {{{symbol-fill-color}}} || fill color for the shape || ''Color'' || {{{blue}}}, unless either {{{symbol-stroke-width}}} or {{{symbol-stroke-color}}} is set ||
    896 || {{{symbol-fill-opacity}}} || fill opacity || ''Opacity'' ||  1.0  ||
     896|| {{{symbol-fill-opacity}}} || fill opacity || ''Opacity'' || 1.0  ||
    897897|| {{{text-...}}}, {{{font-...}}} ||||||  general text & font properties  ||
    898898|| {{{text-anchor-horizontal}}} || horizontal text label placement || {{{left}}}, {{{center}}}, {{{right}}} ||  {{{right}}}  ||
     
    938938=== Area styles ===
    939939||=  '''Key''' =||= '''Description''' =||= '''Value Format''' =||= '''Default Value''' =||
    940 || {{{fill-color}}} || Color in which to fill the area || ''Color'' ||  -  ||
     940|| {{{fill-color}}} || Color in which to fill the area. Until 11700, the alpha component was set to 50 to create a transparency effect. || ''Color'' ||  -  ||
    941941|| {{{fill-image}}} || Image pattern || ''Image'' ||  -  ||
    942942|| {{{fill-extent}}} || Set this property, to draw only the outline of the area. The number specifies, how far to fill from the border of the area towards the center. (If unset, the area will be filled completely) ''[since 9008]'' || ''Number'' ||  -  ||
    943 || {{{fill-opacity}}} || How transparent the fill is; applies to both color and image || ''Opacity'' ||  1.0  ||
     943|| {{{fill-opacity}}} || How transparent the fill is; applies to both color and image || ''Opacity'' || 0.2 ''[since 11700, 1.0 before that]'' (can be changed with the {{{mappaint.fillalpha}}} and {{{mappaint.fill-image-alpha}}} preferences)  ||
    944944|| {{{text-position}}} || set to {{{center}}}, if text should be drawn in the center of the area || {{{line}}}, {{{center}}} ||  -  ||
    945945|| {{{text-...}}}, {{{font-...}}} ||||||  general text & font properties  ||