OpenAPI 1.0

com.aquafold.openapi.type
Interface AQColor


public interface AQColor

AQColor represents an immutable color object, based on java.awt.Color.

An instance of this interface can be obtained via one of the newColor() or getXXX() methods in AQColorFactory,

Example:
var blue = aqua.type.color.getBlue();
var gold = aqua.type.color.newColor(255, 210, 25);


Method Summary
 AQColor brighter()
          Creates a new AQColor that is a brighter version of this AQColor.
 AQColor darker()
          Creates a new AQColor that is a darker version of this AQColor.
 Color getJavaColor()
          Returns the underlying java.awt.Color object.
 

Method Detail

brighter

AQColor brighter()
Creates a new AQColor that is a brighter version of this AQColor.


darker

AQColor darker()
Creates a new AQColor that is a darker version of this AQColor.


getJavaColor

Color getJavaColor()
Returns the underlying java.awt.Color object.


OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.