Package | Description |
---|---|
ilog.views.util.print |
Defines a generic printing framework.
|
Modifier and Type | Field and Description |
---|---|
static IlvUnit |
IlvUnit.CM
The centimeter unit.
|
static IlvUnit |
IlvUnit.INCHES
The inch unit.
|
static IlvUnit |
IlvUnit.POINTS
The points unit, that corresponds to 1/72nds of an inch.
|
Modifier and Type | Method and Description |
---|---|
IlvUnit |
IlvUnit.Measure.getUnit()
Returns the unit of measurement of this object.
|
IlvUnit |
IlvUnit.Point.getUnit()
Returns the unit of measurement of this object.
|
IlvUnit |
IlvUnit.Dimension.getUnit()
Returns the unit of measurement of this object.
|
IlvUnit |
IlvUnit.Rectangle.getUnit()
Returns the unit of measurement of this object.
|
Modifier and Type | Method and Description |
---|---|
double |
IlvUnit.getAs(double value,
IlvUnit unit)
Translates a value defined in this unit of measurement
to the specified unit of measurement.
|
double |
IlvUnit.Measure.getAs(IlvUnit unit)
Returns the value of the measure in the
specified unit.
|
double |
IlvUnit.Dimension.getHeightAs(IlvUnit unit)
Returns the height of this dimension in the specified unit.
|
double |
IlvUnit.Rectangle.getHeightAs(IlvUnit unit)
Returns the height of this rectangle in the
specified unit of measurement.
|
double |
IlvUnit.Dimension.getWidthAs(IlvUnit unit)
Returns the width of this dimension in the specified unit.
|
double |
IlvUnit.Rectangle.getWidthAs(IlvUnit unit)
Returns the width of this rectangle in the
specified unit of measurement.
|
double |
IlvUnit.Point.getXAs(IlvUnit unit)
Returns the x coordinate in the specified unit.
|
double |
IlvUnit.Rectangle.getXAs(IlvUnit unit)
Returns the x coordinate of this rectangle in the
specified unit of measurement.
|
double |
IlvUnit.Point.getYAs(IlvUnit unit)
Returns the y coordinate in the specified unit.
|
double |
IlvUnit.Rectangle.getYAs(IlvUnit unit)
Returns the y coordinate of this rectangle in the
specified unit of measurement.
|
Constructor and Description |
---|
Dimension(double width,
double height,
IlvUnit unit)
Creates a dimension in the specified
unit of measurement.
|
Dimension(IlvUnit unit)
Creates a dimension of (0,0) in the specified
unit of measurement.
|
Measure(double value,
IlvUnit unit)
Creates a measure with the specified unit.
|
Point(double x,
double y,
IlvUnit unit)
Creates a point located at (a,y) in the specified unit.
|
Point(IlvUnit unit)
Creates a point located at (0,0) in the specified unit.
|
Rectangle(double x,
double y,
double w,
double h,
IlvUnit unit)
Creates a rectangle with its unit of measurement.
|
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.