Last modified 16 years ago
Last modified on 02/03/09 01:28:47
Analysis
Overview
The frame could be filled with one SOLID color chosen by a color picker in the frame appearance hud.
Task requirements
- If the STRONG filling is chosen, frame should be filled with the filling color.
- Every time the user chooses filling color from the hud the frames filling changes.
- The default option for filling is NONE.
- If the user chooses the NONE filling type it should behave as STRONG filling with white color, opacity 1. This should not affect the first color in the frame model.
Task result
The result of this task is source code.
Implementation idea
The scene elements color should be auto calculated from the filling color in the frame model. Use the java.awt.Graphics2D methods to setPaint and fill the frame.
Related
FRAME_APPEARANCE_HALO_AND_HUD_R0
FRAME_FILLING_GRADIENT_R0
FRAME_FILLING_PATTERN_R0
FRAME_FILLING_IMAGE_R0
How to demo
- Demonstrate changing the color of the frames filling.
- Change the filling type to NONE and then return it back to SOLID. Demonstrate that the previously chosen color is kept.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)