converted the rest!

This commit is contained in:
Andy Meneely
2020-03-20 23:07:14 -04:00
parent fc3908533f
commit 9ef4afc2e6
23 changed files with 465 additions and 133 deletions
+20
View File
@@ -50,6 +50,11 @@ stroke_strategy
Must be either ``:fill_first`` or ``:stroke_first`` (or their string equivalents).
join
default: ``:mitre``
Specifies how to render the junction of two lines when stroking. Options are ``:mitre``, ``:round``, and ``:bevel``.
dash
default: ``'3 3'`` (no dash pattern set)
@@ -78,6 +83,21 @@ angle
the angle at which to rotate the rectangle about it's upper-left corner
x_radius
default: ``0.125in``
The x radius of the rounded corners. Supports :doc:`/units`.
y_radius
default: ``0.125in``
The y radius of the rounded corners. Supports :doc:`/units`.
radius
default: ``nil``
The x and y radius of the rounded corners. If specified, overrides x_radius and y_radius. Supports :doc:`/units`.
Examples
^^^^^^^^
-14
View File
@@ -30,20 +30,6 @@ y2
the y-coordinate to place. Supports :doc:`/units/`
x3
default: ``0``
the x-coordinate to place. Supports :doc:`/units/`
y3
default: ``50``
the y-coordinate to place. Supports :doc:`/units/`
.. include:: /args/draw.rst
.. include:: /args/range.rst
.. include:: /args/layout.rst
+17 -1
View File
@@ -9,12 +9,28 @@ Options
.. include:: /args/xy.rst
.. include:: /args/wh.rst
x_radius
default: ``0``
The x radius of the rounded corners. Supports :doc:`/units`.
y_radius
default: ``0``
The y radius of the rounded corners. Supports :doc:`/units`.
radius
default: ``nil``
The x and y radius of the rounded corners. If specified, overrides x_radius and y_radius. Supports :doc:`/units`.
.. include:: /args/draw.rst
.. include:: /args/range.rst
.. include:: /args/layout.rst
angle
default: 0
default: ``0``
the angle at which to rotate the rectangle about it's upper-left corner
+19
View File
@@ -42,6 +42,20 @@ stroke_width
the width of the outside stroke. Supports :doc:`/units`.
x_radius
default: ``0.125in``
The x radius of the rounded corners. Supports :doc:`/units`.
y_radius
default: ``0.125in``
The y radius of the rounded corners. Supports :doc:`/units`.
radius
default: ``nil``
The x and y radius of the rounded corners. If specified, overrides x_radius and y_radius. Supports :doc:`/units`.
stroke_strategy
default: ``:fill_first``
@@ -50,6 +64,11 @@ stroke_strategy
Must be either ``:fill_first`` or ``:stroke_first`` (or their string equivalents).
join
default: ``:mitre``
Specifies how to render the junction of two lines when stroking. Options are ``:mitre``, ``:round``, and ``:bevel``.
dash
default: ``'3 3'`` (no dash pattern set)