DoubleDimension

class DoubleDimension : Dimension2D

Implementation of the Dimension2D abstract class with double precision.

Constructors

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

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)

Properties

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