LibreOffice Module android (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
org.mozilla.gecko.gfx.IntSize Class Reference

Public Member Functions

 IntSize (IntSize size)
 
 IntSize (int inWidth, int inHeight)
 
 IntSize (FloatSize size)
 
 IntSize (JSONObject json)
 
int getArea ()
 
boolean equals (IntSize size)
 
boolean isPositive ()
 
String toString ()
 
IntSize scale (float factor)
 
IntSize nextPowerOfTwo ()
 

Static Public Member Functions

static int nextPowerOfTwo (int value)
 
static int nextPowerOfTwo (float value)
 

Public Attributes

final int width
 
final int height
 

Detailed Description

Definition at line 11 of file IntSize.java.

Constructor & Destructor Documentation

◆ IntSize() [1/4]

org.mozilla.gecko.gfx.IntSize.IntSize ( IntSize  size)
inline

◆ IntSize() [2/4]

org.mozilla.gecko.gfx.IntSize.IntSize ( int  inWidth,
int  inHeight 
)
inline

◆ IntSize() [3/4]

org.mozilla.gecko.gfx.IntSize.IntSize ( FloatSize  size)
inline

◆ IntSize() [4/4]

org.mozilla.gecko.gfx.IntSize.IntSize ( JSONObject  json)
inline

Member Function Documentation

◆ equals()

boolean org.mozilla.gecko.gfx.IntSize.equals ( IntSize  size)
inline

◆ getArea()

int org.mozilla.gecko.gfx.IntSize.getArea ( )
inline

◆ isPositive()

boolean org.mozilla.gecko.gfx.IntSize.isPositive ( )
inline

◆ nextPowerOfTwo() [1/3]

IntSize org.mozilla.gecko.gfx.IntSize.nextPowerOfTwo ( )
inline

◆ nextPowerOfTwo() [2/3]

static int org.mozilla.gecko.gfx.IntSize.nextPowerOfTwo ( float  value)
inlinestatic

Definition at line 65 of file IntSize.java.

References org.mozilla.gecko.gfx.IntSize.nextPowerOfTwo(), and value.

◆ nextPowerOfTwo() [3/3]

static int org.mozilla.gecko.gfx.IntSize.nextPowerOfTwo ( int  value)
inlinestatic

◆ scale()

IntSize org.mozilla.gecko.gfx.IntSize.scale ( float  factor)
inline

◆ toString()

String org.mozilla.gecko.gfx.IntSize.toString ( )
inline

Member Data Documentation

◆ height

final int org.mozilla.gecko.gfx.IntSize.height

◆ width

final int org.mozilla.gecko.gfx.IntSize.width

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