loadBitmap

doodle.syntax.`package`.loadBitmap
object loadBitmap extends LoadBitmapSyntax

Attributes

Source
package.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
loadBitmap.type

Members list

Extensions

Inherited extensions

extension [B](ioBitmap: IO[B])
def mapBitmap[B2](f: B => B2): IO[B2]

Transform the bitmap inside the IO

Transform the bitmap inside the IO

Attributes

Inherited from:
LoadBitmapSyntax
Source
LoadBitmapSyntax.scala
def toPicture[Alg <: Algebra](using tp: ToPicture[B, Alg]): IO[Picture[Alg, Unit]]

Convert to Picture inside the IO

Convert to Picture inside the IO

Attributes

Inherited from:
LoadBitmapSyntax
Source
LoadBitmapSyntax.scala
extension [S](specifier: S)
def loadBitmap[B](using loader: LoadBitmap[S, B]): IO[B]

Load a bitmap from this specifier

Load a bitmap from this specifier

Attributes

Inherited from:
LoadBitmapSyntax
Source
LoadBitmapSyntax.scala
def loadToPicture[B, Alg <: Algebra](using loader: LoadBitmap[S, B], tp: ToPicture[B, Alg]): IO[Picture[Alg, Unit]]

Load a bitmap and immediately convert to Picture. This is a convenience method that combines loading and conversion.

Load a bitmap and immediately convert to Picture. This is a convenience method that combines loading and conversion.

Attributes

Inherited from:
LoadBitmapSyntax
Source
LoadBitmapSyntax.scala