smile.infrastructure

Members list

Type members

Classlikes

object BufferAdapter

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class BufferAdapter[Buffer]

Adapter for managing and manipulating a bitmap. This class provides methods for common image processing tasks such as copying, scaling, and transforming.

Adapter for managing and manipulating a bitmap. This class provides methods for common image processing tasks such as copying, scaling, and transforming.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Constants

Provides constants for use throughout the library, particularly for dealing with angles and colors.

Provides constants for use throughout the library, particularly for dealing with angles and colors.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Constants.type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class DrawingSurface(val owner: JVMBufferAdapter)

Represents a drawing surface for rendering shapes, images, and text. It encapsulates a BufferAdapter to provide a high-level drawing API.

Represents a drawing surface for rendering shapes, images, and text. It encapsulates a BufferAdapter to provide a high-level drawing API.

Value parameters

owner

The BufferAdapter instance that this DrawingSurface operates on.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class JVMBufferAdapter(buffer: BufferedImage) extends BufferAdapter[BufferedImage]

Adapter for managing and manipulating a BufferedImage. This class provides methods for common image processing tasks such as copying, scaling, and transforming.

Adapter for managing and manipulating a BufferedImage. This class provides methods for common image processing tasks such as copying, scaling, and transforming.

Value parameters

buffer

The underlying BufferedImage instance.

Attributes

Companion
object
Supertypes
class BufferAdapter[BufferedImage]
class Object
trait Matchable
class Any
object JVMRenderer extends Renderer

Provides functionality for rendering pictures and their elements into bitmaps.

Provides functionality for rendering pictures and their elements into bitmaps.

Attributes

Supertypes
trait Renderer
class Object
trait Matchable
class Any
Self type
object JVMResourceFactory extends ResourceFactory[BufferedImage]

Provides functionalities for creating and saving images from various sources.

Provides functionalities for creating and saving images from various sources.

Attributes

Supertypes
trait ResourceFactory[BufferedImage]
class Object
trait Matchable
class Any
Self type
object MathUtils

Provides utility mathematical functions for operations commonly used throughout the library.

Provides utility mathematical functions for operations commonly used throughout the library.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
MathUtils.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Renderer

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Renderer.type
trait Renderer

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JVMRenderer

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait ResourceFactory[Buffer]

Provides functionalities for creating and saving images from various sources.

Provides functionalities for creating and saving images from various sources.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Extensions

Extensions

extension (value: Double)
def truncate: Double

Truncates the decimal part of a double, moving towards zero.

Truncates the decimal part of a double, moving towards zero.

Attributes

Returns

The truncated Double value.