android-components / mozilla.components.support.base.android / Padding

Padding

data class Padding (source)

A representation of an Android Padding.

Parameters

left - Padding start in PX.

top - Padding top in PX.

right - Padding end in PX.

bottom - Padding end in PX.

Constructors

Name Summary
<init> Padding(left: Int, top: Int, right: Int, bottom: Int)
A representation of an Android Padding.

Properties

Name Summary
bottom val bottom: Int
Padding end in PX.
left val left: Int
Padding start in PX.
right val right: Int
Padding end in PX.
top val top: Int
Padding top in PX.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.