DoubleDimension

Implementation of the Dimension2D abstract class with double precision.

Constructors

Link copied to clipboard
constructor()
Initializes a new DoubleDimension instance with both width and height set to zero.
constructor(d: Dimension2D)
Initializes a new DoubleDimension instance using another Dimension2D object's data.
constructor(w: Double, h: Double)
Initializes a new DoubleDimension using raw data.
constructor(d: Array<Double>)
Initializes a new DoubleDimension through an array of numbers.

Properties

Link copied to clipboard
open val height: Double
Link copied to clipboard
open val width: Double

Functions

Link copied to clipboard
open fun clone(): Any
Link copied to clipboard
abstract fun getHeight(): Double
Link copied to clipboard
abstract fun getWidth(): Double
Link copied to clipboard
open fun setSize(w: Double, h: Double)