Class
ImageComposition
ConsoleMonster.Graphics
Composes decoded images through the same content builder as core widgets.
Inheritance
- object
- ImageComposition
Methods
Image 2 overloads
public static ContentBuilder Image(ContentBuilder content, string path, Action<ConsoleImage>? configure = null) #Reads an image and adds it to a layout.
Parameters
- content ConsoleMonster.Layout.ContentBuilder
- The destination content builder.
- path string
- The encoded image file.
- configure System.Action<ConsoleMonster.Graphics.ConsoleImage>? = null
- Optional typed image configuration.
public static ContentBuilder Image(ContentBuilder content, ConsoleImage image) #Adds an existing image without decoding it again.
Parameters
- content ConsoleMonster.Layout.ContentBuilder
- The destination content builder.
- image ConsoleMonster.Graphics.ConsoleImage
- The image to compose.