> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # Stroke API reference for the Stroke type. Represents an outline, such as the border of an element. ## Properties The weight (thickness) of the stroke. **Minimum**: `0` **Maximum**: `100` The color of the stroke. A solid color that fills an interior. The type of color. The only valid value is `"solid"`. The color of the fill. This must be a valid, six-digit hex code, prefixed with a `#` symbol. * Must be six characters long. * Must start with a `#`. * Must use lowercase letters. **Example** ```ts "#ff0099" ``` Represents design content that the SDK doesn't support. The only valid value is `"unsupported"`. **Parameters** A state that creates a solid color fill. Properties of state}> The type of color. The only valid value is `"solid"`. The color of the fill. This must be a valid, six-digit hex code, prefixed with a `#` symbol. * Must be six characters long. * Must start with a `#`. * Must use lowercase letters. **Example** ```ts "#ff0099" ``` **Returns** `void`