class org.aswing.plaf.basic.BasicGraphicsUtils
@private
Class Fields
static function drawBezel(g:Graphics2D, r:IntRectangle, isPressed:Bool, shadow:ASColor, darkShadow:ASColor, highlight:ASColor, lightHighlight:ASColor): Void
For buttons style bezel by fill function
static function drawControlBackground(g:Graphics2D, b:IntRectangle, bgColor:ASColor, direction:Float): Void
static function drawGradientRoundRectLine(g:Graphics2D, b:IntRectangle, t:Float, tune:StyleResult, ?direction:Float = 1.5707963267948966f, ?border:Bool = true, ?matrixB:IntRectangle = null): Void
Fill gradient round rectangle line, if tune.round < roundRectBtmFix, it will fill rectangle line with no round
static function drawLoweredBezel(g:Graphics2D, r:IntRectangle, shadow:ASColor, darkShadow:ASColor, highlight:ASColor, lightHighlight:ASColor): Void
For buttons style bezel by fill function
static function drawRoundRectLine(g:Graphics2D, x:Float, y:Float, w:Float, h:Float, r:Float, t:Float): Void
Call draw path gradient round rectangle, if r < roundRectBtmFix, it will fill rectangle with no round
static function drawUpperedBezel(g:Graphics2D, r:IntRectangle, shadow:ASColor, darkShadow:ASColor, highlight:ASColor, lightHighlight:ASColor): Void
For buttons style bezel by fill function
static function fillGradientCircle(g:Graphics2D, b:IntRectangle, tune:StyleResult, ?direction:Float = 1.5707963267948966f): Void
static function fillGradientRect(g:Graphics2D, b:IntRectangle, c1:ASColor, c2:ASColor, direction:Float, ?ratios:Array<Dynamic> = null): Void
static function fillGradientRoundRect(g:Graphics2D, b:IntRectangle, tune:StyleResult, ?direction:Float = 1.5707963267948966f, ?border:Bool = false, ?matrixB:IntRectangle = null, ?ratios:Array<Dynamic> = null): Void
Fill gradient round rectangle, if tune.round < roundRectBtmFix, it will fill rectangle with no round
static function fillGradientRoundRectBottomRightAngle(g:Graphics2D, b:IntRectangle, tune:StyleResult, ?direction:Float = 1.5707963267948966f, ?border:Bool = false, ?matrixB:IntRectangle = null): Void
static function getArrowPath(width:Float, direction:Float, centerX:Float, centerY:Float, ?round:Bool = true): Array<Dynamic>
static function getGradientBrush(tune:StyleResult, matrix:Matrix, ?border:Bool = false, ?ratios:Array<Dynamic> = null): GradientBrush
Returns the gradient brush with tune
tune | the tune |
matrix | the matrix |
border | true means for border, false means for content |
static function paintBezel(g:Graphics2D, r:IntRectangle, isPressed:Bool, shadow:ASColor, darkShadow:ASColor, highlight:ASColor, lightHighlight:ASColor): Void
For buttons by draw line function
static function paintLoweredBevel(g:Graphics2D, r:IntRectangle, shadow:ASColor, darkShadow:ASColor, highlight:ASColor, lightHighlight:ASColor): Void
Use drawLine
static function paintRaisedBevel(g:Graphics2D, r:IntRectangle, shadow:ASColor, darkShadow:ASColor, highlight:ASColor, lightHighlight:ASColor): Void
Use drawLine