Margins

class Margins(val top: Float = 0.0f, val right: Float = 0.0f, val bottom: Float = 0.0f, val left: Float = 0.0f)

Used by NinePatch to determine where the central patch is.

FYI. The constructor's arguments are ordered in the same way as CSS : top, right, bottom, left.

Constructors

Link copied to clipboard
constructor(top: Float = 0.0f, right: Float = 0.0f, bottom: Float = 0.0f, left: Float = 0.0f)

Properties

Link copied to clipboard
val bottom: Float = 0.0f
Link copied to clipboard
val left: Float = 0.0f
Link copied to clipboard
val right: Float = 0.0f
Link copied to clipboard
val top: Float = 0.0f