From b8509a7c84e8228de6cfe67aff47971c2c6ea1ce Mon Sep 17 00:00:00 2001 From: Peter Richardson Date: Fri, 6 Jan 2017 14:35:11 -0500 Subject: [PATCH] `required` > `optional` --- pages/draw.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/draw.md b/pages/draw.md index 683d0b0..6785f34 100644 --- a/pages/draw.md +++ b/pages/draw.md @@ -352,6 +352,15 @@ roads: offset: [[13, [0, 6px]], [15, [0, 9px]]] ``` +####`optional` +Optional _boolean_. Default is `false`. + +Applies to _text_ blocks under _point_ styles. + +When `true`, stipulates that any _text_ attached to a _point_ must draw with the point. When `false`, a _point_ and associated _text_ will be tested for collisions separately, and if the _text_ collides, the _point_ will be drawn alone. + +Note that attached _text_ will never draw without its _point_. + ####`order` Required _integer_ or _function_. No default. @@ -484,15 +493,6 @@ roads: ... ``` -####`required` -Optional _boolean_. Default is `false`. - -Applies to _text_ blocks under _point_ styles. - -When `true`, stipulates that any _text_ attached to a _point_ must draw with the point. When `false`, a _point_ and associated _text_ will be tested for collisions separately, and if the _text_ collides, the _point_ will be drawn alone. - -Note that attached _text_ will never draw without its _point_. - ####`size` Optional _number_ in `px`, _[x, y]_ in `px`, or _stops_ having either 1D or 2D values. Mixed 1D and 2D stop values are not allowed. Default is `32px`.