Getshadowblurradius(), Getshadowpaint(), Getshadowslicesize() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 15: Setshadowblurradius(float), Setshadowpaint(paint), Setshadowslicesize(int), Getshadowblurradius, Getshadowpaint, Getshadowslicesize, Setshadowblurradius

Advertising
background image

(continued from last page)

getShadowSliceSize()

getShadowSliceSize

public int getShadowSliceSize()

Property: How big (thick) the outer (border) slices for the shadow will be. This is like the line thickness for LineBorder.
The center slice (there 3x3) will be the remaining size.

Returns:

The current size.

See Also:

setShadowPaintOptimization(boolean[])

setShadowSliceSize

public void setShadowSliceSize(int s)

Property: How big the outer slices for the shadow will be. This is like the line thickness for LineBorder. The center slice
(there 3x3) will be the remaining size.

Parameters:

s

- The new size.

See Also:

setShadowPaintOptimization(boolean[])

getShadowPaint

public java.awt.Paint getShadowPaint()

Property: The

Paint

used to draw the shadow.

Returns:

The current

Paint

. May be

null

.

setShadowPaint

public void setShadowPaint(java.awt.Paint p)

Property: The

Paint

used to draw the shadow.

Parameters:

p

- The new

Paint

. May be

null

in which case no shadow will be painted.

getShadowBlurRadius

public float getShadowBlurRadius()

Property: The blur radius for the blur filter. Greater means more smeared shadow but it takes longer to compute.

Returns:

The current

Paint

. May be

null

.

setShadowBlurRadius

public void setShadowBlurRadius(float r)

Page 15 of 196

com.miginfocom.beans.ActivityAShapeBean

Advertising