Contents

new Padding(top, right)

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

Declaration

constructor(top: number, right: number);

Parameters

  • top:

    The top inset margin.

  • right:

    The right inset margin.

Discussion

The framework sets the left and bottom padding values to 0.

See Also

Creating padding