PixelDimensions


public final class PixelDimensions


Dimensions of a 2D surface in Pixels.

Summary

Public constructors

PixelDimensions(int width, int height)

Public methods

final int

Integer Height.

final int

Integer Width.

@NonNull String

Public constructors

PixelDimensions

Added in 1.0.0-alpha01
public PixelDimensions(int width, int height)
Parameters
int width

Integer Width.

int height

Integer Height.

Public methods

getHeight

Added in 1.0.0-alpha01
public final int getHeight()

Integer Height.

getWidth

Added in 1.0.0-alpha01
public final int getWidth()

Integer Width.

toString

public @NonNull String toString()