Scenic.Primitive.Style.Paint.Dynamic (Scenic v0.10.3) View Source

Fill a primitive with an image from Scenic.Cache.Dynamic.Texture

Full Format

Dynamic paint accepts several variations. In each case, the key is a key referencing an image that has been loaded into Scenic.Cache.Dynamic.Texture.

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