[[BackLinksMenu]] [[TicketQuery(summary=FRAME_SHADOW_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|)]] = Analysis = == Overview == The user could drop shadow for a frame. == Task requirements == * The default shadow color is grey but the user can change it by the frame appearance hud. * 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. * 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. * When the horizontal offset is negative the shadow is droped to the left of the frame and if it is positive – to the right. * When the vertical offset is negative the shadow is dropped below the frame and when it is positive the shadow is shown above it. == Task result == The result of this task is source code. == Implementation idea == Create a scene shape element for the shadow with solid filling type and specified color and opacity. Use the java.awt.Graphics2D methods to setPaint and fill the shadow shape. == Related == [wiki:FRAME_APPEARANCE_HALO_AND_HUD_R0] [[BR]] == How to demo == * Open the frame appearance hud and Create a new frame and show how its appearance changes according to the the hud. = 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.)