| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=PAGE_FILLING_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | |
| 6 | = Analysis = |
| 7 | |
| 8 | == Overview == |
| 9 | |
| 10 | The user could drop shadow for a frame. |
| 11 | |
| 12 | == Task requirements == |
| 13 | |
| 14 | * The default shadow color is grey but the user can change it by the frame appearance hud. |
| 15 | |
| 16 | * The frame shadow width and orientation depends on two values – the horizontal (X) and vertical (Y) shadow offsets. The user can change them by the frame appearance hud. |
| 17 | |
| 18 | * The frame`s horizontal and vertical shadow widths are equal to the absolute values of the X and Y boxes from the frame appearance hud. |
| 19 | |
| 20 | * When the horizontal offset is negative the shadow is droped to the left of the frame and if it is positive – to the right. |
| 21 | |
| 22 | * When the vertical offset is negative the shadow is dropped below the frame and when it is positive the shadow is shown above it. |
| 23 | |
| 24 | == Task result == |
| 25 | The result of this task is source code. |
| 26 | |
| 27 | == Implementation idea == |
| 28 | |
| 29 | Create a scene shape element for the shadow with solid filling type and specified color and opacity. |
| 30 | Use the java.awt.Graphics2D methods to setPaint and fill the shadow shape. |
| 31 | |
| 32 | == Related == |
| 33 | [wiki:FRAME_APPEARANE_HALO_AND_HUD_R0] [[BR]] |
| 34 | |
| 35 | == How to demo == |
| 36 | |
| 37 | * Open the frame appearance hud and Create a new frame and show how its appearance changes according to the the hud. |
| 38 | |
| 39 | = Design = |
| 40 | |
| 41 | |
| 42 | = Implementation = |
| 43 | ^(Implementation results should be described and linked here (from the wiki or the repository))^ |
| 44 | |
| 45 | = Testing = |
| 46 | |
| 47 | = Comments = |
| 48 | ^(Write comments for this or later revisions here.) |