meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| section:section-resource-shadow [2026/05/21 21:52] – removed - external edit (Unknown date) 127.0.0.1 | section:section-resource-shadow [2026/05/21 21:52] (current) – ↷ Page moved from sectiion:section-resource-shadow to section:section-resource-shadow doreps | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Resource - Shadow ====== | ||
| + | Shadows for an object, whether it is text or other graphics such as images, shapes, icons, windows, or folders, serve as a fundamental visual anchor that provides a three-dimensional lift to complement a professional interface. By creating a separation between the object and its background, the user's eye easily distinguishes what is interactive and what is static. | ||
| + | ===== Quick Start: The Two Rules of Drop Shadows ===== | ||
| + | Total Launcher relies on Android' | ||
| + | |||
| + | ==== 1. To create a reliable drop shadow, follow these guidelines: ==== | ||
| + | * **For a Solid Shadow:** - | ||
| + | * Assign the shape or picture/ | ||
| + | * Assign the shadow preset to its single '' | ||
| + | * **For a Hollow Ring Shadow:** - Apply a border width of at least '' | ||
| + | * See the example ++here.|{{: | ||
| + | * **For ALL Shadows (The Margin Rule):** - Increase the object' | ||
| + | * <wrap em>< | ||
| + | |||
| + | ==== 2. When a drop shadow is desired, avoid the following actions: ==== | ||
| + | * **0% Alpha Transparency: | ||
| + | * **Margins at 0:** - A zero margin forces the shape to touch the absolute edges of its container, leaving zero physical room on the canvas for the shadow to be drawn. The Margin dialog does offer a '' | ||
| + | * **Stacking Backgrounds: | ||
| + | |||
| + | ===== What is a Shadow Resource? ===== | ||
| + | Total Launcher offers a " | ||
| + | |||
| + | Common uses for shadow resources include: | ||
| + | |||
| + | * **Exterior or Interior Drop Shadows:** - Provides the native ability to cast outward shadows based on an object' | ||
| + | * View drop vs inner shadow examples ++here.|{{: | ||
| + | |||
| + | * **Custom Bases:** - Acts as the foundational layer for launcher objects, granting flat graphics a physical presence on the screen. | ||
| + | * View custom base examples ++here|{{: | ||
| + | |||
| + | * **Floating Cards:** - Applies high '' | ||
| + | * View floating card examples ++here.|{{: | ||
| + | |||
| + | * **Lifted Buttons:** - Utilizes a tight '' | ||
| + | * * View lifted button examples ++here.|{{: | ||
| + | |||
| + | * **Layered UI Effects:** - Generates visual hierarchy (Z-axis depth) and clear boundaries when stacking multiple widgets, overlapping windows, or pinning panels. The shadow visually dictates which element resides in the foreground, preventing flat, confusing layouts. | ||
| + | * View layered UI examples ++here.|{{: | ||
| + | |||
| + | * **Text Emphasis:** - Ensures text remains legible regardless of the wallpaper underneath. Applying a tight, dark shadow preset behind bright text separates the characters from busy or similarly colored backgrounds, | ||
| + | * View text emphasis examples ++here.|{{: | ||
| + | |||
| + | ===== The Built-in Shadow Library ===== | ||
| + | Total Launcher provides no core library of shadows, only the space to store // | ||
| + | |||
| + | ===== Customizing and Editing Shadows ===== | ||
| + | Shadows can be created at any time and added to ' | ||
| + | * '' | ||
| + | |||
| + | Shadows can be created " | ||
| + | * '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | The **Shadow** dialog and the description of its elements are shown below: | ||
| + | |||
| + | {{tablelayout? | ||
| + | ^ Shadow Add Dialog | ||
| + | | The Shadow Add dialog\\ {{: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Procedure To Apply a Shadow: Sample ===== | ||
| + | |||
| + | The following procedure outlines the standard method for applying a shadow resource to an object: | ||
| + | - Enter [[: | ||
| + | - Select the '' | ||
| + | - Select '' | ||
| + | - Select '' | ||
| + | - Scroll to '' | ||
| + | - Back out of this screen to return to the Object Options Edit dialog and select the '' | ||
| + | - Increase the margins to accommodate the combined value of the shadow' | ||
| + | |||
| + | ===== Design Enhancements with Shadows ===== | ||
| + | |||
| + | The following are common design methods utilizing shadows to enhance overall layout: | ||
| + | |||
| + | * **Framed Image Layouts:** - Creates the appearance of physical photos, Polaroid prints, or framed art floating above the wallpaper. Instead of displaying flat, standard rectangular photos, images are cropped into precise custom designs (such as circles or heavily rounded rectangles) and lifted off the screen with a distinct drop shadow. | ||
| + | * View framed image example ++here.|{{: | ||
| + | |||
| + | * **Uniform App Icon Reshaping: | ||
| + | * View uniform icon reshaping examples ++here.|{{: | ||
| + | |||
| + | ===== Recommended Offsets and Radius for a Modern UI Design ===== | ||
| + | In modern UI design, light is usually treated as coming from directly above or slightly " | ||
| + | |||
| + | {{tablelayout? | ||
| + | ^ Style ^ Offset X ^ Offset Y ^ Radius | ||
| + | | Subtle Lift | 0 | 2 | 4 | Clean, professional, | ||
| + | | Floating Card | 0 | 8 | 12 | High elevation, like a physical card held over the screen | | ||
| + | | Retro / Pop | 4 | 4 | 2 | Distinct, " | ||
| + | | Soft Glow | 0 | 0 | 20 | High-end " | ||
| + | |||
| + | ==== Tips to Perfect Shadows and the Technical Reasoning Behind Each ==== | ||
| + | |||
| + | * **Increase margins:** - Prevent clipping by increasing the object' | ||
| + | |||
| + | * **Avoid 0% Alpha:** - Avoid an Alpha Fill opacity of exactly '' | ||
| + | |||
| + | * **Use 1% Alpha for hollow shapes:** - Trick the engine into rendering a shadow for a transparent shape by setting the Alpha Fill opacity to '' | ||
| + | |||
| + | * **Do not rely on gradient shadows:** - Shadows ignore image or shape internal gradient fades and cast a uniform blur based solely on the mathematical outer boundary of the shape. The shadow is generated based on its options (color, radius, and offsets). See the technical discussion [[: | ||
| + | |||
| + | * **Use high opacity on dark themes:** - Overcome the luminance floor and maintain visibility on dark wallpapers by utilizing high alpha values (80%+) or solid colors. See the technical discussion [[: | ||
| + | |||
| + | * **Utilize color wheel opposites: | ||
| + | |||
| + | ===== Technical Note: The Gaussian Safety Buffer ===== | ||
| + | While Rule 1 states that Margin must be ≥ (Radius + Offset), high-radius shadows require a " | ||
| + | * **The Rule of Thumb:** - For any Radius over '' | ||
| + | * **Example: | ||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | **Design Tip:** To test shadows effectively, | ||
| + | </ | ||
| + | |||
| + | ===== UI Navigation Note: The Single Slot Background ===== | ||
| + | When configuring a Graphic Object' | ||
| + | * A shape, an image, a color **or** a shadow can be assigned to this slot, but resources cannot be combined directly inside the same Background menu level. | ||
| + | * To apply a shadow based on a specific custom shape' | ||
| + | |||
| + | ===== Performance Hits from Radius/Blur Use ===== | ||
| + | Total Launcher processes shadows using native drawing routines, which require dynamic graphic calculations. | ||
| + | * **High GPU Demand:** - Large shadow radii require significant Gaussian blur calculations during screen rendering. | ||
| + | * **Frame Rate Drops:** - Applying large shadow radii (e.g., above '' | ||
| + | * **Mitigation Strategy:** - Maintain performance by minimizing the number of heavily shadowed objects on a single page, keeping the '' | ||
| + | |||
| + | <WRAP noprint> | ||