DhStyleBase.setWidthUnit

Overview | Methods | Fields | This Package | All Packages

DhStyleBase.setWidthUnit

Sets the width of the element.

Syntax

public void setWidthUnit( int w, int unit )

Parameters

w

The width value.

unit

One of DhUnits constants to express the units of measurement.

See Also   getBounds, getWidthUnit