Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add text-offset and shield-offset #151

Merged
merged 1 commit into from Aug 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions 3.0.20/reference.json
Expand Up @@ -1489,6 +1489,15 @@
"default-value": 0,
"default-meaning": "No placement will be done.",
"doc": "Controls vertical spacing between placements of placement type `grid` or `alternating-grid`."
},
"offset": {
"css": "shield-offset",
"type": "float",
"expression": true,
"default-value": 0.0,
"default-meaning": "Will not be offset.",
"doc": "In case of `line` placement, offsets a shield position a number of pixels parallel to its actual path. In case of `grid` placement, reduces or expands the polygon area. Positive values move the line left or expand the polygon, negative values move it right or shrink the polygon (relative to the directionality of the line or polygon winding).",
"status": "unstable"
}
},
"line-pattern": {
Expand Down Expand Up @@ -2585,6 +2594,15 @@
"default-value": 0,
"default-meaning": "No placement will be done.",
"doc": "Controls vertical spacing between placements of placement type `grid` or `alternating-grid`."
},
"offset": {
"css": "text-offset",
"type": "float",
"expression": true,
"default-value": 0.0,
"default-meaning": "Will not be offset.",
"doc": "In case of `line` placement, offsets a text position a number of pixels parallel to its actual path. In case of `grid` placement, reduces or expands the polygon area. Positive values move the line left or expand the polygon, negative values move it right or shrink the polygon (relative to the directionality of the line or polygon winding).",
"status": "unstable"
}
},
"building": {
Expand Down