public final class IntSize2d


Size of a 2d object represented as an Int, such as the dimensions of the panel in pixels.

Summary

Public constructors

IntSize2d(int width, int height)

Public methods

boolean
equals(Object other)
final int

the height of the object

final int

the width of the object

int
@NonNull String

Public constructors

IntSize2d

Added in 1.0.0-alpha10
public IntSize2d(int width, int height)

Public methods

equals

public boolean equals(Object other)

getHeight

Added in 1.0.0-alpha10
public final int getHeight()

the height of the object

getWidth

Added in 1.0.0-alpha10
public final int getWidth()

the width of the object

hashCode

public int hashCode()

toString

public @NonNull String toString()