Getbackground(), Getcornerradius(), Getoutlinestrokewidth() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 24: Setbackground(paint), Setcornerradius(double), Setoutlinestrokewidth(float), Getbackground, Getcornerradius, Getoutlinestrokewidth, Setbackground
(continued from last page)
Property: The font used to draw the main text in the shape.
Parameters:
font
- The new font. May be
null
in which case the title will not be drawn.
getBackground
public java.awt.Paint getBackground()
Property: The background paint for the shape.
Returns:
The current background paint. may be
null
.
setBackground
public void setBackground(java.awt.Paint paint)
Property: The background paint for the shape.
Parameters:
paint
- The new background paint. May be
null
in which case it isn't painted.
getOutlineStrokeWidth
public float getOutlineStrokeWidth()
Property: The width of the outline around the shape.
Returns:
The current width. Default is 1.
setOutlineStrokeWidth
public void setOutlineStrokeWidth(float width)
Property: The width of the outline around the shape.
Parameters:
width
- The new width.
getCornerRadius
public double getCornerRadius()
Property: The corner radius for the outline
com.miginfocom.util.gfx.RoundRectangle
.
Returns:
The current radius.
See Also:
setRoundRect(double, double, double, double, double, double)
setCornerRadius
public void setCornerRadius(double radius)
Property: The corner radius for the outline
com.miginfocom.util.gfx.RoundRectangle
.
Page 24 of 196
com.miginfocom.beans.ActivityAShapeBean