wiki:FRAME_SHADOW_R0
Last modified 3 years ago Last modified on 02/03/09 01:51:33

Pages linking to FRAME_SHADOW_R0:
TASK_INDEX

Ticket Summary Owner Status Type Component Priority Effort Importance
#779 FRAME_SHADOW_R0 mira closed planned_task FRAME_PROPERTIES 3 1 0

Reported by Astea, 4 years ago.

Description

wiki page: FRAME_SHADOW_R0 - effort: 1d

Analysis_owners

mira

Analysis_score

0

Design_score

0

Imp._score

0

Test_score

0

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.

FRAME_APPEARANCE_HALO_AND_HUD_R0

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.)