Margin

data class Margin(val top: Double, val right: Double, val bottom: Double, val left: Double) : IsAlmostEquals<Margin>

A top, right, bottom, left pack with FixedShort (16-bit) in the range of +-3275.9 (3.3 integer digits + 1 decimal digit)

Constructors

Link copied to clipboard
constructor(vertical: Double, horizontal: Double)
constructor(margin: Double)
constructor(top: Double, right: Double, bottom: Double, left: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val top: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun isAlmostEquals(other: Margin, epsilon: Double): Boolean
Link copied to clipboard
fun isAlmostZero(epsilon: Double = 1.0E-6): Boolean
Link copied to clipboard
operator fun minus(other: Margin): Margin
Link copied to clipboard
operator fun plus(other: Margin): Margin
Link copied to clipboard
open override fun toString(): String