Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / FilterTextureFromBase64

FilterTextureFromBase64 method

Applies a texture using the specified texture image.

Syntax

Boolean FilterTextureFromBase64(strBase64 As String, nOpacity As Number, bOverlay As Boolean, nScaling As Number, nLeft As Number, nTop As Number, nWidth As Number, nHeight As Number)

Return value

Returns true if the function succeeded.

Parameters

ParameterTypeRequiredDescription
strBase64StringYesString containing the Base64 data.
nOpacityNumberNoOptional parameter which specifies the opacity of the texture.
bOverlayBooleanNoOptional parameter which disables or enables the texture overlay mode. When overlay is enabled, the texture will be applied without color modification of the texture.
nScalingNumberNoOptional parameter which specifies the scaling of the texture ranging from 50%...200%.
nLeftNumberNoOptional parameter which can be used to specify a clipping rectangle. This parameter specifies the left coordinate of the rectangle.
nTopNumberNoOptional parameter which can be used to specify a clipping rectangle. This parameter specifies the top coordinate of the rectangle.
nWidthNumberNoOptional parameter which can be used to specify a clipping rectangle. This parameter specifies the width of the rectangle.
nHeightNumberNoOptional parameter which can be used to specify a clipping rectangle. This parameter specifies the height of the rectangle.

Category

Filters, Textures

See also

FilterTextureFromFile | FilterTextureFromSerializedStream | FilterTextureFromStream | FilterTextureFromURL