DhElement.setWidthUnit

Overview | Methods | This Package | All Packages

DhElement.setWidthUnit

Sets the width of the element using one of the DhUnits constants to express the units of measurement.

Syntax

public void setWidthUnit( int w, int unit )

Parameters

w

The width values.

unit

One of DhUnits constants to express the units of measurement.

See Also   DhStyleBase.getBounds