Package casa.lepton.ui
Class TitleBlock
java.lang.Object
casa.lepton.ui.TitleBlock
Fixed-size rectangular area containing a text, that can be inserted in a
graphics2d. The updating of the text and its drawing is intended to be fast
(method draw) The characteristics of the rectangle and text (position, size,
font, colors) are defined at creation time. The size of the rectangle is
defined from a provided text sample.
-
Constructor Summary
ConstructorDescriptionTitleBlock
(Graphics2D g, Rectangle target, Corner corner, String textSample, Font f, Color fg, Color bg) -
Method Summary
-
Constructor Details
-
TitleBlock
-
-
Method Details
-
draw
-