class org.aswing.colorchooser.ColorRectIcon

@author paling

Instance Fields

function new(width:Int, height:Int, color:ASColor): Void

function getColor(): ASColor

function getIconHeight(c:Component): Int

Return the icon's height.

function getIconWidth(c:Component): Int

Return the icon's width.

function setColor(color:ASColor): Void

function updateIcon(com:Component, g:Graphics2D, x:Int, y:Int): Void