Padder

Represents padding around a object.

Represents padding around a IRenderable object.

Constructors

public Padder(IRenderable child, Padding? padding = default)

Initializes a new instance of the Padder class.

Parameters:

child (IRenderable)
The thing to pad.
padding (Padding?)
The padding. Defaults to 1,1,1,1 if null.

Properties

Expand : bool

Gets or sets a value indicating whether or not the padding should fit the available space. If false, the padding width will be auto calculated. Defaults to false.

Padding : Padding?

Gets or sets the padding.