comparison dwt/graphics/Pattern.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 e10cbfc977d2
children 36f5cb12e1a2
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
23 import dwt.graphics.GC; 23 import dwt.graphics.GC;
24 import dwt.graphics.Device; 24 import dwt.graphics.Device;
25 import dwt.graphics.Image; 25 import dwt.graphics.Image;
26 26
27 import tango.text.convert.Format; 27 import tango.text.convert.Format;
28 import dwt.dwthelper.utils;
28 29
29 /** 30 /**
30 * Instances of this class represent patterns to use while drawing. Patterns 31 * Instances of this class represent patterns to use while drawing. Patterns
31 * can be specified either as bitmaps or gradients. 32 * can be specified either as bitmaps or gradients.
32 * <p> 33 * <p>
270 * Returns a string containing a concise, human-readable 271 * Returns a string containing a concise, human-readable
271 * description of the receiver. 272 * description of the receiver.
272 * 273 *
273 * @return a string representation of the receiver 274 * @return a string representation of the receiver
274 */ 275 */
275 override public char[] toString() { 276 override public String toString() {
276 if (isDisposed()) return "Pattern {*DISPOSED*}"; 277 if (isDisposed()) return "Pattern {*DISPOSED*}";
277 return Format( "Pattern {{{}}", handle ); 278 return Format( "Pattern {{{}}", handle );
278 } 279 }
279 280
280 } 281 }