Platform Editor Pricing Docs Sign In Get Started

Chapter 7: Shape Elements

Shape elements provide geometric forms for backgrounds, highlights, decorations, and visual structure. This chapter covers creating and styling shapes in FX Express.

Shape Types

FX Express includes three basic shape types:

ShapeDescriptionUse Cases
RectangleFour-sided shape with optional rounded cornersBackgrounds, buttons, cards, containers
CirclePerfectly round shapeAvatars, bullets, decorations, icons
TriangleThree-sided shapeArrows, pointers, decorative elements

Adding Shapes

To add a shape:

  1. Find the Shapes section in the element palette
  2. Click Rectangle, Circle, or Triangle
  3. The shape appears on the canvas with default styling
  4. Position and resize as needed

Shape Properties

All shapes share these properties:

Fill Color

The interior color of the shape:

  • Click the palette icon to open the color picker
  • Select from preset colors or enter a custom value
  • Choose “No fill” for transparent interior
  • Supports opacity/alpha values

Stroke Color

The border/outline color:

  • Click the pen icon to open the stroke color picker
  • Select a color for the outline
  • Choose “No stroke” to remove the border
  • Stroke appears around the shape’s perimeter

Stroke Width

The thickness of the border in pixels:

WidthAppearance
0No visible stroke
1Thin hairline
2Standard (default)
4Medium
8Thick

Border Radius (Rectangles Only)

Corner rounding for rectangle shapes:

OptionValueEffect
None0pxSharp corners
Small4pxSubtle rounding
Medium8pxNoticeable rounding
Large16pxPronounced rounding
Extra Large32pxVery rounded
Pill9999pxFully rounded ends

The Shape Toolbar

When you select a shape, a toolbar appears with these options:

ControlFunction
Fill color (🎨)Open fill color picker
Stroke color (✏️)Open stroke color picker
WidthDropdown for stroke width
Corner radiusDropdown for border radius (rectangles only)
Timing (🕐)Open element timing dialog
AnimateOpen animation dialog (rectangles only)
Lock (🔒)Lock element position and size

Creating Common Shape Styles

Solid Background

Fill: Your chosen color
Stroke: None (width: 0)
Border Radius: As needed

Outlined Shape

Fill: Transparent (no fill)
Stroke: Your chosen color
Width: 2 or higher

Card/Panel

Fill: White or light color
Stroke: Light gray
Width: 1
Border Radius: Medium (8px)

Button Style

Fill: Brand color
Stroke: None
Border Radius: Small to Medium

Circle Avatar Frame

Shape: Circle
Fill: Background or transparent
Stroke: Brand color
Width: 4

Badge/Tag

Shape: Rectangle
Fill: Color
Border Radius: Pill
Size: Small, fit to content

Using Shapes for Layout

Background Panels

Create visual separation between content areas:

  1. Add a Rectangle
  2. Size it behind your content
  3. Set Z-Index lower than content
  4. Apply subtle fill color
  5. Optional: Add border radius for softer look

Highlight Boxes

Draw attention to important content:

  1. Add a Rectangle
  2. Position around content to highlight
  3. Use bright stroke color
  4. Keep fill transparent or semi-transparent
  5. Add border radius to match style

Dividers

Create visual breaks between sections:

  1. Add a Rectangle
  2. Set width to 100%, height to small value (1-2%)
  3. Position horizontally
  4. Use subtle fill color

Bullet Points

Custom bullets for lists:

  1. Add a Circle
  2. Size small (1-2%)
  3. Fill with accent color
  4. Duplicate and position for each point

Shape Animation

Rectangle shapes support special animations:

Reveal Animation

Animate the shape from one edge:

  1. Select the rectangle
  2. Click “Animate…” in toolbar
  3. Choose reveal direction
  4. Set animation duration

Available Animation Types

  • Reveal from left/right/top/bottom
  • Wipe effects
  • Scale animations (via keyframes)

See Chapter 12: Animations and Keyframes for advanced animations.

Shapes and Z-Index

Proper layering is essential when using shapes:

Background Shapes

  • Set Z-Index to lowest values (0, 1, 2)
  • Ensure content appears above

Overlay Shapes

  • Set Z-Index higher than content
  • Useful for highlighting or framing

Layering Example

Background shape: Z-Index 0
Image: Z-Index 1
Text: Z-Index 2
Highlight frame: Z-Index 3

Color Tips

Theme Colors

Use colors from your theme for consistency:

  • Primary/accent colors for emphasis
  • Background colors for containers
  • Text colors for strokes when framing text

Contrast

Ensure sufficient contrast:

  • Dark shapes on light backgrounds (or vice versa)
  • Strokes should be visible against both fill and background

Transparency

Use semi-transparent fills for overlay effects:

  • Darken areas behind text
  • Create frosted glass effects
  • Subtle highlighting

Common Shape Patterns

Call-to-Action Button

Shape: Rectangle
Fill: Bright accent color
Stroke: None
Border Radius: Medium
Position: Centered
Z-Index: Above background

Text Background Panel

Shape: Rectangle
Fill: Semi-transparent dark (rgba)
Stroke: None
Border Radius: Small
Position: Behind text
Z-Index: Below text

Profile Picture Frame

Shape: Circle
Fill: None
Stroke: Brand color
Width: 4
Position: Around profile image
Z-Index: Above image

Section Divider

Shape: Rectangle
Fill: Subtle gray
Stroke: None
Width: 100%
Height: 1-2px (0.1-0.2%)

Decorative Accent

Shape: Triangle
Fill: Accent color
Position: Corner
Rotation: As needed
Z-Index: Background layer

Troubleshooting

Shape Not Visible

  • Check if fill and stroke are both transparent
  • Verify Z-Index (may be behind other elements)
  • Check opacity setting
  • Verify position is on-canvas

Stroke Looks Wrong

  • Width may be 0 (invisible)
  • Color may match background
  • Try increasing stroke width

Corners Not Rounding

  • Only rectangles support border radius
  • Check that shape type is “rectangle”
  • Increase border radius value

Shape Covers Content

  • Lower the Z-Index value
  • Or raise Z-Index of content elements
  • Check layering order

Animation Not Working

  • Only rectangles support built-in animations
  • Use keyframes for other shapes
  • Check animation settings in dialog

Performance Considerations

Shapes are lightweight elements:

  • Use freely without performance concerns
  • SVG-based rendering is efficient
  • Multiple shapes have minimal impact
  • Prefer shapes over images for simple graphics

← Previous: Video Elements | Next: Tables and Lists →