Contents

new Padding(top)

Creates a padding object and initializes its top inset margin with the provided value.

Declaration

constructor(top: number);

Parameters

  • top:

    The top inset margin.

Discussion

The framework sets the other padding values to 0.

See Also

Creating padding