.. _Selection.stroke: ================================================ Selection.stroke ================================================ void **stroke** (any **strokeColor**, int **width**, :ref:`StrokeLocation` **location**, :ref:`ColorBlendMode` **mode**, int **opacity**, bool **preserveTransparency**) Parameters ---------- +--------------------------+-------------------------------------------------------------------+ | **strokeColor** | The color to stroke the selection with. | +--------------------------+-------------------------------------------------------------------+ | **width** | The stroke width. | +--------------------------+-------------------------------------------------------------------+ | **location** | The stroke location. | +--------------------------+-------------------------------------------------------------------+ | **mode** | The color blend mode. | +--------------------------+-------------------------------------------------------------------+ | **opacity** | The opacity of the stroke color as a percentage. Range: 1 to 100. | +--------------------------+-------------------------------------------------------------------+ | **preserveTransparency** | If true, preserves transparency. | +--------------------------+-------------------------------------------------------------------+ Description ----------- Strokes the selection.