The jRectangle
and jRoundedRectangle
controls draw a rectangular shape that can be both stroked and filled as described in Fills, Strokes, and Borders.
jRoundedRectangle
is identical to jRectangle
, but has an additional CornerRadii
property for adjusting the shape of the four corners. Each of the four corners can be adjusted independently.
Both jRectangle
and jRoundedRectangle
employ the same text features used by many of the other controls in the jControls CF35 library including ForeColor
, TextOffset
, TextAlignment
, and TextWrap
. See Text Features for more information. By default the Text
property is empty, so no text is displayed.