ImageFillBuilder

class ImageFillBuilder : StyleParameters(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Customizable GLSL function used to perform domain warping on a given vector. This property allows defining a function written in GLSL that alters the texture coordinate p for advanced procedural texturing techniques or creative transformations.

Link copied to clipboard

Specifies how the image should fit within the bounds of the target shape or area.

Link copied to clipboard
var fillTransform: Matrix44

A transformation matrix applied to the image fill. This property allows modifying the spatial characteristics of the image used in the fill, such as translation, rotation, or scaling. Using this matrix, the image can be adjusted to achieve specific visual effects or alignment within the fill bounds. By default, it is set to the identity matrix, which means no transformation is applied.

Link copied to clipboard

Specifies the units in which the image fill is defined.

Link copied to clipboard
var image: ColorBuffer?

Represents an optional ColorBuffer used as an input image for image-based fill operations. This property is used in conjunction with various fill attributes (e.g., fillUnits, fillFit, spreadMethodX, spreadMethodY, fillTransform) to define how the image is applied to a shape.

Link copied to clipboard
open override var parameterTypes: ObservableHashmap<String, String>
Link copied to clipboard
open override var parameterValues: MutableMap<String, Any>
Link copied to clipboard
Link copied to clipboard

Specifies the method used to determine how the edges of the image fill are handled along the x-axis. The value is of type SpreadMethod, and it defines how pixel values are repeated or reflected when they exceed the bounds of the original image. By default, it is set to SpreadMethod.PAD, which extends the edge pixels of the image.

Link copied to clipboard

Specifies the method used to determine how the edges of the image fill are handled along the y-axis. The value is of type SpreadMethod, allowing for pixel values to be extended, reflected, or repeated when exceeding the bounds of the image. By default, it is set to SpreadMethod.PAD, which extends the edge pixels of the image.

Link copied to clipboard
open override var textureBaseIndex: Int

Functions

Link copied to clipboard
Link copied to clipboard
open fun <R : Any> Parameter(customName: String?, initialValue: R?): Parameter<R>
Link copied to clipboard
open fun parameter(name: String, value: Array<ColorRGBa>)
open fun parameter(name: String, value: Array<Matrix33>)
open fun parameter(name: String, value: Array<Matrix44>)
open fun parameter(name: String, value: Array<Vector2>)
open fun parameter(name: String, value: Array<Vector3>)
open fun parameter(name: String, value: Array<Vector4>)
open fun parameter(name: String, value: Boolean)
open fun parameter(name: String, value: Double)
open fun parameter(name: String, value: DoubleArray)
open fun parameter(name: String, value: Float)
open fun parameter(name: String, value: Int)
open fun parameter(name: String, value: IntArray)
open fun parameter(name: String, value: ColorRGBa)
open fun parameter(name: String, value: ArrayCubemap)
open fun parameter(name: String, value: ArrayTexture)
open fun parameter(name: String, value: BufferTexture)
open fun parameter(name: String, value: ColorBuffer)
open fun parameter(name: String, value: Cubemap)
open fun parameter(name: String, value: DepthBuffer)
open fun parameter(name: String, value: VolumeTexture)
open fun parameter(name: String, value: BooleanVector2)
open fun parameter(name: String, value: BooleanVector3)
open fun parameter(name: String, value: BooleanVector4)
open fun parameter(name: String, value: IntVector2)
open fun parameter(name: String, value: IntVector3)
open fun parameter(name: String, value: IntVector4)
open fun parameter(name: String, value: Matrix33)
open fun parameter(name: String, value: Matrix44)
open fun parameter(name: String, value: Vector2)
open fun parameter(name: String, value: Vector3)
open fun parameter(name: String, value: Vector4)