ImageBuilder

papyrus.DSL.builders.ImageBuilder
See theImageBuilder companion object
case class ImageBuilder(src: String, alt: String, width: Option[Width], caption: Option[String], alignment: Option[Float]) extends Builder[Image]

Builder for creating an Image element

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Image]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Extension method from ImageBuilder

Sets the image alignment (left, right, center)

Sets the image alignment (left, right, center)

Attributes

def alternative(a: String): ImageBuilder
Extension method from ImageBuilder

Sets the alternative attribute (alternative text)

Sets the alternative attribute (alternative text)

Attributes

override def build: Image

Attributes

Definition Classes
def caption(c: String): ImageBuilder
Extension method from ImageBuilder

Sets the caption below the image

Sets the caption below the image

Attributes

Extension method from ImageBuilder

Sets the image width

Sets the image width

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product