Abyssale Developer Hub
  • Getting Started
  • Rest API
    • Overview - Rest API
    • Authentication
    • Designs
      • Design Details
    • Generation
      • Design information
      • Synchronous generation
        • Generate single image
      • Asynchronous generation
        • Generate Multi-Format images
        • Generate Multi-Format PDFs for Printing
        • Generate Multi-Page PDF for Printing
        • Generate Multi-Format Videos
        • Generate Multi-Format Animated GIFs
        • Generate HTML5 Banner Ads
          • ad network
      • Element properties
        • Root
        • Text
        • Button
        • Image
        • Logo
        • Shape
        • Rating
        • Illustration
        • QR Code
        • Video
        • Audio
      • Errors
    • Image Export
    • Fonts
    • Annexes
    • API Reference
  • Dynamic Images
    • Overview - Dynamic Images
    • Dynamic Image generation with URL
  • Webhooks
    • Overview - Webhooks
    • Events
      • Design
      • Banner
      • Global events
Powered by GitBook
On this page
  1. Rest API
  2. Generation
  3. Element properties

Rating

Rating component - Abyssale REST API

PreviousShapeNextIllustration

Last updated 12 months ago

For now, 5 stars is the only available rating decoration.

Available properties:

Property
Description

rating_score

Number between 0-100. Score of the rating on a scale of 100.

star_dimension

Number between 4-400. Size in pixels of one star.

star_margin

Number between 0-100. Margins in pixels between stars.

star_color

String. or (for print) Represents the color of the filled stars.

background_color

String. or (for print)

Represents the background color of all stars.

shadow_color shadow_blur shadow_offset_x shadow_offset_y

Example:

"rating_score": 64, "star_dimension": 40, "star_margin": 10, "star_color": "#FF0000", "background_color": "#EAEAEA80"

"rating_score": 64, "star_dimension": 40, "star_margin": 10, "star_color":"cmyka(0,100,100,0,100)", "background_color":"cmyka(0,0,0,8,100"

6-8 digits hexadecimal color
cmyka format
6-8 digits hexadecimal color
cmyka format
Go to Shadow documentation