Scenic v0.9.0 Scenic.Primitive.Style.Paint.Image View Source

Fill a primitive with an image from the cache

Full Format

Image paint accepts several variations. In each case, the image_key is a key to an image that has been loaded into the Cache.

  • {:image, image_key} - Show the full image
  • {:image, {image_key, alpha}} - Show the full image with transparency
  • {:image, {image_key, start_x, start_y, end_x, end_y, angle, alpha}}