Size2D.Float
Contents
[
Hide
]Inheritance: java.lang.Object, java.awt.geom.Dimension2D, com.aspose.xps.Size2D
All Implemented Interfaces: java.io.Serializable
public static class Size2D.Float extends Size2D implements Serializable
The Float
class defines dimensions specified in float coordinates.
Constructors
Constructor | Description |
---|---|
Float() | Creates the Size2D instance. |
Float(float width, float height) | Creates the Size2D instance. |
Fields
Field | Description |
---|---|
height | The height of this Size2D . |
width | The width of this Size2D . |
Methods
Method | Description |
---|---|
clone() | |
equals(Object arg0) | |
getClass() | |
getHeight() | {@inheritDoc} |
getWidth() | {@inheritDoc} |
hashCode() | |
notify() | |
notifyAll() | |
setSize(double w, double h) | {@inheritDoc} |
setSize(float w, float h) | Sets the dimensions of this Size2D to the specified float values. |
setSize(Dimension2D arg0) | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
Float()
public Float()
Creates the Size2D instance.
Float(float width, float height)
public Float(float width, float height)
Creates the Size2D instance.
Parameters:
Parameter | Type | Description |
---|---|---|
width | float | The width. |
height | float | The height. |
height
public float height
The height of this Size2D
.
width
public float width
The width of this Size2D
.
clone()
public Object clone()
Returns: java.lang.Object
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHeight()
public double getHeight()
Returns: double
getWidth()
public double getWidth()
Returns: double
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setSize(double w, double h)
public void setSize(double w, double h)
Parameters:
Parameter | Type | Description |
---|---|---|
w | double | |
h | double |
setSize(float w, float h)
public void setSize(float w, float h)
Sets the dimensions of this Size2D
to the specified float
values.
Parameters:
Parameter | Type | Description |
---|---|---|
w | float | The width of this Size2D |
h | float | The height of this Size2D |
setSize(Dimension2D arg0)
public void setSize(Dimension2D arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.awt.geom.Dimension2D |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |