ImageBuilder

papyrus.DSL.builders.ImageBuilder
See theImageBuilder companion class
object ImageBuilder

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(src: String, alt: String, width: Option[Width], caption: Option[String], alignment: Option[Float]): ImageBuilder

Creates a new ImageBuilder

Creates a new ImageBuilder

Attributes

Extensions

Extensions

extension (str: ImageBuilder)

Sets the image alignment (left, right, center)

Sets the image alignment (left, right, center)

Attributes

def alternative(a: String): ImageBuilder

Sets the alternative attribute (alternative text)

Sets the alternative attribute (alternative text)

Attributes

def caption(c: String): ImageBuilder

Sets the caption below the image

Sets the caption below the image

Attributes

Sets the image width

Sets the image width

Attributes