Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: awt ::
struct Gradient
Description describes a color dispersion within an area.

Elements' Summary
Style | specifies the style of the gradient.
StartColor | specifies the color at the start point of the gradient.
EndColor | specifies the color at the end point of the gradient.
Angle | angle of the gradient in 1/10 degree.
Border | per cent of the total width where just the start color is used.
XOffset | specifies the X-coordinate, where the gradient begins.
YOffset | specifies the Y-coordinate, where the gradient begins.
StartIntensity | specifies the intensity at the start point of the gradient.
EndIntensity | specifies the intensity at the end point of the gradient.
StepCount | specifies the number of steps of change color.

Elements' Details
Style
GradientStyle Style; Description specifies the style of the gradient.
StartColor
long StartColor; Description specifies the color at the start point of the gradient.
EndColor
long EndColor; Description specifies the color at the end point of the gradient.
Angle
short Angle; Description angle of the gradient in 1/10 degree.
Border
short Border; Description per cent of the total width where just the start color is used.
XOffset
short XOffset; Description specifies the X-coordinate, where the gradient begins.
YOffset
short YOffset; Description specifies the Y-coordinate, where the gradient begins.
StartIntensity
short StartIntensity; Description specifies the intensity at the start point of the gradient.
EndIntensity
short EndIntensity; Description specifies the intensity at the end point of the gradient.
StepCount
short StepCount; Description specifies the number of steps of change color.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.