Simple Font Paint Example
A font is a specific style of displaying characters. It describes the design, size, appearance, weight, and spacing of a character. It is the combination of pitch and spacing.
Show Stroke with Effect
The interface Stroke gives the stylish way of representing the outlines. To show the effect, class GradientPaint is used which fills the specified figure in a color gradient pattern. The class Rectangle2D provides the rectangle figure.