Mercurial > projects > dwt-win
comparison dwt/graphics/Region.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | 25f88bf5a6df |
children | 36f5cb12e1a2 |
comparison
equal
deleted
inserted
replaced
211:ff59aeb96cac | 212:ab60f3309436 |
---|---|
22 import dwt.graphics.Point; | 22 import dwt.graphics.Point; |
23 import dwt.graphics.Rectangle; | 23 import dwt.graphics.Rectangle; |
24 import dwt.graphics.Device; | 24 import dwt.graphics.Device; |
25 | 25 |
26 import tango.text.convert.Format; | 26 import tango.text.convert.Format; |
27 import dwt.dwthelper.utils; | |
27 | 28 |
28 /** | 29 /** |
29 * Instances of this class represent areas of an x-y coordinate | 30 * Instances of this class represent areas of an x-y coordinate |
30 * system that are aggregates of the areas covered by a number | 31 * system that are aggregates of the areas covered by a number |
31 * of polygons. | 32 * of polygons. |
588 * Returns a string containing a concise, human-readable | 589 * Returns a string containing a concise, human-readable |
589 * description of the receiver. | 590 * description of the receiver. |
590 * | 591 * |
591 * @return a string representation of the receiver | 592 * @return a string representation of the receiver |
592 */ | 593 */ |
593 override public char[] toString () { | 594 override public String toString () { |
594 if (isDisposed()) return "Region {*DISPOSED*}"; | 595 if (isDisposed()) return "Region {*DISPOSED*}"; |
595 return Format( "Region {{{}}", handle ); | 596 return Format( "Region {{{}}", handle ); |
596 } | 597 } |
597 | 598 |
598 /** | 599 /** |