Contents

new Padding(top, right, bottom)

Creates a padding object and initializes it with the provided top, right, and bottom values.

Declaration

constructor(top: number, right: number, bottom: number);

Parameters

  • top:

    The top inset margin.

  • right:

    The right inset margin.

  • bottom:

    The bottom inset margin.

Discussion

The framework sets the left side padding value to 0.

See Also

Creating padding