public class EntitySize
extends java.lang.Object
コンストラクタと説明 |
---|
EntitySize(float widthIn,
float heightIn,
boolean fixedIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
static EntitySize |
fixed(float widthIn,
float heightIn) |
static EntitySize |
flexible(float widthIn,
float heightIn) |
EntitySize |
scale(float factor) |
EntitySize |
scale(float widthFactor,
float heightFactor) |
java.lang.String |
toString() |
public final float width
public final float height
public final boolean fixed
public EntitySize scale(float factor)
public EntitySize scale(float widthFactor, float heightFactor)
public static EntitySize flexible(float widthIn, float heightIn)
public static EntitySize fixed(float widthIn, float heightIn)
public java.lang.String toString()
toString
クラス内 java.lang.Object