public interface ISize
This interface provides read access to the size only, however this does not mean that an instance that implements ISize
will always return the same values for the size properties. Often times the instance provides a dynamic read access to
the current state of an instance. It depends on the context whether it is allowed to or even necessary to copy the state
of the properties or whether the reference to the instance should always be used to query the values.
IMutableSize
,
MutableSize
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Gets the current height of this instance.
|
double |
getWidth()
Gets the current width of this instance.
|
default SizeD |
toSizeD()
|
double getHeight()
Depending on context the values returned may change over time.
double getWidth()
Depending on context the values returned may change over time.