# StyleOptions

constructor(foregroundColor: Color? = null, backgroundColor: Color? = null, borderColor: Color? = null, borderWidth: Sizes? = null, borderStyle: NodeStyle.BorderStyle? = null, alignment: NodeStyle.Alignment? = null, textAlignment: NodeStyle.TextAlignment? = null, margin: Sizes? = null, padding: Sizes? = null, cornerRadius: Sizes? = null, fontSize: TextTransformData.Size? = null, fontWeight: TextTransformData.Weight? = null, fontStyle: TextTransformData.Style? = null, fontVariant: TextTransformData.Variant? = null, textDecoration: TextTransformData.Decoration? = null, textCase: TextTransformData.Case? = null)

#### Parameters

foregroundColor

- Optional
- Likely named

text color. Default if unset

backgroundColor

- Optional
- Likely named

background color. Transparent if unset

borderColor

- Optional
- Likely named

border color. Default if unset and borderWidth is set

borderWidth

- Optional
- Likely named

border width. Default if unset and borderColor is set

borderStyle

- Optional
- Likely named

border style. Normal (solid) if unset and borderColor or borderWidth is set

#### Values

- `normal`
- `dashed`
- `dotted`
- `double`

alignment

- Optional
- Likely named

alignment of the content. Default if unset

#### Values

- `start`
- `center`
- `end`

textAlignment

- Optional
- Likely named

alignment of the text. alignment if unset

#### Values

- `start`
- `center`
- `end`
- `justify`

margin

- Optional
- Likely named

whitespace outside the content. None if unset

padding

- Optional
- Likely named

whitespace around the content. None if unset

cornerRadius

- Optional
- Likely named

corner (and border) radius. None if unset

fontSize

- Optional
- Likely named

relative font size of the text. Normal if unset

#### Values

- `tiny`
- `small`
- `normal`
- `medium`
- `large`
- `larger`
- `huge`

fontWeight

- Optional
- Likely named

font weight of the text. Normal if unset

#### Values

- `normal`
- `bold`

fontStyle

- Optional
- Likely named

font style of the text. Normal if unset

#### Values

- `normal`
- `italic`

fontVariant

- Optional
- Likely named

font variant of the text. Normal if unset

#### Values

- `normal`
- `smallcaps`

textDecoration

- Optional
- Likely named

text decoration of the text. None if unset

#### Values

- `none`
- `underline`
- `overline`
- `underoverline`
- `strikethrough`
- `all`

textCase

- Optional
- Likely named

text case of the text. Normal if unset

#### Values

- `none`
- `uppercase`
- `lowercase`
- `capitalize`