MeshLib Java Docs
Loading...
Searching...
No Matches

Public Member Functions

 PixelSizeUnit (int value)
boolean equals (java.lang.Object other)
int hashCode ()
java.lang.String toString ()

Static Public Member Functions

static PixelSizeUnit of (int value)

Public Attributes

final int value

Static Public Attributes

static final PixelSizeUnit pixels = new PixelSizeUnit(0)
static final PixelSizeUnit _count = new PixelSizeUnit(1)

Detailed Description

Measurement units of screen sizes.

The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.

Constructor & Destructor Documentation

◆ PixelSizeUnit()

meshlib.PixelSizeUnit.PixelSizeUnit ( int value)

Member Function Documentation

◆ equals()

boolean meshlib.PixelSizeUnit.equals ( java.lang.Object other)

◆ hashCode()

int meshlib.PixelSizeUnit.hashCode ( )

◆ of()

PixelSizeUnit meshlib.PixelSizeUnit.of ( int value)
static

Returns the named constant with this value, or a new instance if there's none.

◆ toString()

java.lang.String meshlib.PixelSizeUnit.toString ( )

Member Data Documentation

◆ _count

final PixelSizeUnit meshlib.PixelSizeUnit._count = new PixelSizeUnit(1)
static

◆ pixels

final PixelSizeUnit meshlib.PixelSizeUnit.pixels = new PixelSizeUnit(0)
static

◆ value

final int meshlib.PixelSizeUnit.value

The documentation for this class was generated from the following file: