org.eclipse.swt.graphics.Color

Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html

Contributors: IBM Corporation - initial API and implementation Port to the D programming language: Frank Benoit <benoit@tionex.de>

Members

Classes

Color
class Color

Instances of this class manage the operating system resources that implement SWT's RGB color model. To create a color you can either specify the individual color components as integers in the range 0 to 255 or provide an instance of an <code>RGB</code>. <p> Application code must explicitly invoke the <code>Color.dispose()</code> method to release the operating system resources managed by each instance when those instances are no longer required. </p>

Meta