Rectangle - xkp/Doc GitHub Wiki

Overview

A simple rectangle.

Usage

<rectangle fill="Black" stroke="White"/>

Properties

fill: string, represents how the rectangle will be filled. Conforms to the HTML5 standard.

stroke: string, represents how the rectangle's border will be drawn. Conforms to the HTML5 standard.

line_width: int, represents how thick the border will be.