|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.system.StiSize
public class StiSize
Class represents Size object. Copyright Stimulsoft
Field Summary | |
---|---|
static StiSize |
EMPTY
|
double |
height
|
double |
width
|
Constructor Summary | |
---|---|
StiSize()
|
|
StiSize(double width,
double height)
|
|
StiSize(int width,
int height)
|
Method Summary | |
---|---|
void |
deserialize(java.lang.String strObject)
Десериализация объекта из строки. |
boolean |
equals(java.lang.Object obj)
|
static StiSize |
getEmpty()
|
double |
getHeight()
|
StiSize |
getStiSize()
|
double |
getWidth()
|
int |
hashCode()
|
boolean |
isDefault()
|
java.lang.Boolean |
isEmpty()
|
void |
rotation90()
|
StiSize |
round()
Round StiSize . |
StiSize |
round(double digits)
Round StiSize to digits after point. |
java.lang.String |
serialize()
Сериализация объекта в строку. |
void |
setHeight(double height)
|
void |
setWidth(double width)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final StiSize EMPTY
public double width
public double height
Constructor Detail |
---|
public StiSize()
public StiSize(double width, double height)
public StiSize(int width, int height)
Method Detail |
---|
public java.lang.Boolean isEmpty()
public StiSize round()
StiSize
.
public StiSize round(double digits)
StiSize
to digits after point.
digits
-
public double getWidth()
public void setWidth(double width)
public double getHeight()
public void setHeight(double height)
public void rotation90()
public StiSize getStiSize()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static StiSize getEmpty()
public boolean isDefault()
isDefault
in interface IStiDefault
public java.lang.String serialize()
IStiSerializableToString
serialize
in interface IStiSerializableToString
public void deserialize(java.lang.String strObject)
IStiSerializableToString
deserialize
in interface IStiSerializableToString
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |