EdgeInsets

data class EdgeInsets(var top: Double = 0.0, var left: Double = 0.0, var bottom: Double = 0.0, var right: Double = 0.0) : Parcelable

Represents the insets of a rectangle.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(top: Double = 0.0, left: Double = 0.0, bottom: Double = 0.0, right: Double = 0.0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The bottom inset.

Link copied to clipboard

The left inset.

Link copied to clipboard

The right inset.

Link copied to clipboard
var top: Double

The top inset.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject